Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2021-06-18 | 1 | -0/+8 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2021-06-16 | 1 | -6/+61 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2021-04-20 | 1 | -2/+0 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2021-04-19 | 1 | -1/+2 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | Add latest changes from gitlab-org/gitlab@master | GitLab Bot | 2020-01-23 | 1 | -1/+1 |
| | |||||
* | Use `Gitlab::SafeRequestStore` in more places | Michael Kozono | 2018-09-24 | 1 | -1/+1 |
| | | | | | | Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`. | ||||
* | Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-models | gfyoung | 2018-07-26 | 1 | -0/+2 |
| | | | | Partially addresses #47424. | ||||
* | Backport of 4084-epics-username-autocomplete | Mario de la Ossa | 2018-05-04 | 1 | -0/+8 |
| | |||||
* | Remove edit_note and update_note abilities in favor of admin_note | Douwe Maan | 2018-04-10 | 1 | -4/+0 |
| | |||||
* | Port `read_cross_project` ability from EE | Bob Van Landuyt | 2018-02-22 | 1 | -1/+29 |
| | |||||
* | bugfix: use `require_dependency` to bring in DeclarativePolicybugfix/declarative-policy-reloading | http://jneen.net/ | 2017-06-29 | 1 | -1/+1 |
| | |||||
* | convert the special-case Ability methods to use policies | http://jneen.net/ | 2017-06-27 | 1 | -34/+10 |
| | |||||
* | convert all the policies to DeclarativePolicy | http://jneen.net/ | 2017-06-27 | 1 | -14/+16 |
| | |||||
* | use a magic default :global symbol instead of nil | http://jneen.net/ | 2017-03-09 | 1 | -3/+4 |
| | | | | to make sure we mean the global permissions | ||||
* | address comments | Jarka Kadlecova | 2017-01-25 | 1 | -1/+1 |
| | |||||
* | Support notes without project | Jarka Kadlecova | 2017-01-18 | 1 | -0/+11 |
| | |||||
* | factor out a RuleSet so that `delegate!` retains @cannot | http://jneen.net/ | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | remove the rest of the dead code | http://jneen.net/ | 2016-08-30 | 1 | -74/+0 |
| | |||||
* | take the dive - only use abilities from Policies | http://jneen.net/ | 2016-08-30 | 1 | -8/+1 |
| | |||||
* | port UserPolicy | http://jneen.net/ | 2016-08-30 | 1 | -11/+0 |
| | |||||
* | port runners, namespaces, group/project_members | http://jneen.net/ | 2016-08-30 | 1 | -58/+0 |
| | |||||
* | trim more dead code | http://jneen.net/ | 2016-08-30 | 1 | -52/+1 |
| | |||||
* | port groups | http://jneen.net/ | 2016-08-30 | 1 | -36/+3 |
| | |||||
* | port personal snippets | http://jneen.net/ | 2016-08-30 | 1 | -32/+1 |
| | |||||
* | trim dead code | http://jneen.net/ | 2016-08-30 | 1 | -81/+0 |
| | |||||
* | add automatic detection of the policy class | http://jneen.net/ | 2016-08-30 | 1 | -15/+3 |
| | |||||
* | port CommitStatus/Build | http://jneen.net/ | 2016-08-30 | 1 | -1/+2 |
| | |||||
* | add and use MergeRequestPolicy | http://jneen.net/ | 2016-08-30 | 1 | -2/+5 |
| | |||||
* | port issues to Issu{able,e}Policy | http://jneen.net/ | 2016-08-30 | 1 | -2/+4 |
| | |||||
* | add support for anonymous abilities | http://jneen.net/ | 2016-08-30 | 1 | -188/+6 |
| | |||||
* | add policies, and factor out ProjectPolicy | http://jneen.net/ | 2016-08-30 | 1 | -31/+4 |
| | |||||
* | remove Ability.abilities | http://jneen.net/ | 2016-08-30 | 1 | -5/+0 |
| | |||||
* | make almost everything on Ability private | http://jneen.net/ | 2016-08-30 | 1 | -46/+44 |
| | |||||
* | don't double-cache project_abilites | http://jneen.net/ | 2016-08-30 | 1 | -11/+2 |
| | |||||
* | remove six, and use a Set instead | http://jneen.net/ | 2016-08-30 | 1 | -6/+19 |
| | |||||
* | re-enable the cyclomatic complexity checker | http://jneen.net/ | 2016-08-30 | 1 | -1/+0 |
| | |||||
* | Fix "Wiki" link not appearing in navigation for projects with external wiki21446-service-external-wiki-only-works-when-project-wiki-is-enabled | Alejandro Rodríguez | 2016-08-26 | 1 | -1/+1 |
| | |||||
* | Make Ability#project_abilities return unique values and fix countsfix-rspec-failures-due-to-cached-permissions | Stan Hu | 2016-08-20 | 1 | -1/+1 |
| | |||||
* | Fix assorted rspec failures due to stale, cached user permissions | Stan Hu | 2016-08-20 | 1 | -21/+27 |
| | | | | | | | RequestStore is disabled in tests, but the Ability class was caching user permissions based on the user and project ID of previous test runs. Revise code to use RequestStore only if it is active. | ||||
* | Merge branch 'master' into diff-line-comment-vuejs | Connor Shea | 2016-08-17 | 1 | -0/+5 |
|\ | |||||
| * | Move action to render board lists to `Projects::Boards::ListsController` | Douglas Barbosa Alexandre | 2016-08-17 | 1 | -0/+2 |
| | | |||||
| * | Turn board for public projects accessible to everyone | Douglas Barbosa Alexandre | 2016-08-17 | 1 | -0/+1 |
| | | |||||
| * | Add authorization to issues board related controllers | Douglas Barbosa Alexandre | 2016-08-17 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'master' into diff-line-comment-vuejs | Douwe Maan | 2016-08-12 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | Move abilities by subject class to a dedicated method20621-avoid-lame-conflicts-in-ability-allowed | Rémy Coutable | 2016-08-04 | 1 | -0/+4 |
| | | | | | | | | | | | | This will avoid lame conflicts when merging CE to EE Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | | Merge branch 'master' into diff-line-comment-vuejs | Douwe Maan | 2016-08-03 | 1 | -0/+10 |
|\ \ | |/ | | | | | | | | | # Conflicts: # app/models/discussion.rb # db/schema.rb | ||||
| * | Method for returning issues readable by a userability-batch-issue-checking | Yorick Peterse | 2016-07-29 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The method Ability.issues_readable_by_user takes a list of users and an optional user and returns an Array of issues readable by said user. This method in turn is used by Banzai::ReferenceParser::IssueParser#nodes_visible_to_user so this method no longer needs to get all the available abilities just to check if a user has the "read_issue" ability. To test this I benchmarked an issue with 222 comments on my development environment. Using these changes the time spent in nodes_visible_to_user was reduced from around 120 ms to around 40 ms. | ||||
* | | Merge branch 'master' into diff-line-comment-vuejs | Douwe Maan | 2016-07-28 | 1 | -0/+12 |
|\ \ | |/ | | | | | | | # Conflicts: # db/schema.rb | ||||
| * | Incorporate review comments | Stan Hu | 2016-07-26 | 1 | -4/+2 |
| | |