summaryrefslogtreecommitdiff
path: root/app/models/ability.rb
Commit message (Expand)AuthorAgeFilesLines
* Use `Gitlab::SafeRequestStore` in more placesMichael Kozono2018-09-241-1/+1
* Enable frozen string in app/models/*.rbrepo-forks/gitlab-ce-frozen-string-enable-app-modelsgfyoung2018-07-261-0/+2
* Backport of 4084-epics-username-autocompleteMario de la Ossa2018-05-041-0/+8
* Remove edit_note and update_note abilities in favor of admin_noteDouwe Maan2018-04-101-4/+0
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-1/+29
* bugfix: use `require_dependency` to bring in DeclarativePolicybugfix/declarative-policy-reloadinghttp://jneen.net/2017-06-291-1/+1
* convert the special-case Ability methods to use policieshttp://jneen.net/2017-06-271-34/+10
* convert all the policies to DeclarativePolicyhttp://jneen.net/2017-06-271-14/+16
* use a magic default :global symbol instead of nilhttp://jneen.net/2017-03-091-3/+4
* address commentsJarka Kadlecova2017-01-251-1/+1
* Support notes without projectJarka Kadlecova2017-01-181-0/+11
* factor out a RuleSet so that `delegate!` retains @cannothttp://jneen.net/2016-08-301-1/+1
* remove the rest of the dead codehttp://jneen.net/2016-08-301-74/+0
* take the dive - only use abilities from Policieshttp://jneen.net/2016-08-301-8/+1
* port UserPolicyhttp://jneen.net/2016-08-301-11/+0
* port runners, namespaces, group/project_membershttp://jneen.net/2016-08-301-58/+0
* trim more dead codehttp://jneen.net/2016-08-301-52/+1
* port groupshttp://jneen.net/2016-08-301-36/+3
* port personal snippetshttp://jneen.net/2016-08-301-32/+1
* trim dead codehttp://jneen.net/2016-08-301-81/+0
* add automatic detection of the policy classhttp://jneen.net/2016-08-301-15/+3
* port CommitStatus/Buildhttp://jneen.net/2016-08-301-1/+2
* add and use MergeRequestPolicyhttp://jneen.net/2016-08-301-2/+5
* port issues to Issu{able,e}Policyhttp://jneen.net/2016-08-301-2/+4
* add support for anonymous abilitieshttp://jneen.net/2016-08-301-188/+6
* add policies, and factor out ProjectPolicyhttp://jneen.net/2016-08-301-31/+4
* remove Ability.abilitieshttp://jneen.net/2016-08-301-5/+0
* make almost everything on Ability privatehttp://jneen.net/2016-08-301-46/+44
* don't double-cache project_abiliteshttp://jneen.net/2016-08-301-11/+2
* remove six, and use a Set insteadhttp://jneen.net/2016-08-301-6/+19
* re-enable the cyclomatic complexity checkerhttp://jneen.net/2016-08-301-1/+0
* Fix "Wiki" link not appearing in navigation for projects with external wiki21446-service-external-wiki-only-works-when-project-wiki-is-enabledAlejandro Rodríguez2016-08-261-1/+1
* Make Ability#project_abilities return unique values and fix countsfix-rspec-failures-due-to-cached-permissionsStan Hu2016-08-201-1/+1
* Fix assorted rspec failures due to stale, cached user permissionsStan Hu2016-08-201-21/+27
* Merge branch 'master' into diff-line-comment-vuejsConnor Shea2016-08-171-0/+5
|\
| * Move action to render board lists to `Projects::Boards::ListsController`Douglas Barbosa Alexandre2016-08-171-0/+2
| * Turn board for public projects accessible to everyoneDouglas Barbosa Alexandre2016-08-171-0/+1
| * Add authorization to issues board related controllersDouglas Barbosa Alexandre2016-08-171-0/+2
* | Merge branch 'master' into diff-line-comment-vuejsDouwe Maan2016-08-121-0/+4
|\ \ | |/
| * Move abilities by subject class to a dedicated method20621-avoid-lame-conflicts-in-ability-allowedRémy Coutable2016-08-041-0/+4
* | Merge branch 'master' into diff-line-comment-vuejsDouwe Maan2016-08-031-0/+10
|\ \ | |/
| * Method for returning issues readable by a userability-batch-issue-checkingYorick Peterse2016-07-291-0/+10
* | Merge branch 'master' into diff-line-comment-vuejsDouwe Maan2016-07-281-0/+12
|\ \ | |/
| * Incorporate review commentsStan Hu2016-07-261-4/+2
| * Optimize maximum user access level lookup in loading of notesStan Hu2016-07-261-0/+14
* | Add access checks for diff note and discussion resolutionDouwe Maan2016-07-251-1/+7
|/
* Fix a few nitpicksRémy Coutable2016-07-201-2/+2
* Allow to disable user request access to groups/projectsFelipe Artur2016-07-201-2/+2
* Allow to access Container Registry for Public and Internal projectsallow-to-pull-public-imagesKamil Trzcinski2016-07-151-1/+2
* Add a migration to remove requesters that are owners of their project18790-dont-show-request-button-to-project-ownerRémy Coutable2016-07-051-10/+12