Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-27Factorize policy helpers into PolicyHelpersRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27[CE] Reduce the diff with EE in spec/policies/project_policy_spec.rbRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-31Prevent comments by email when issue is lockedHeinrich Lee Yu
This changes the permission check so it uses the policy on Noteable instead of Project. This prevents bypassing of rules defined in Noteable for locked discussions and confidential issues. Also rechecks permissions when reply_to_discussion_id is provided since the discussion_id may be from a different noteable.
2018-02-09Merge branch ↵Douwe Maan
'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4' [Port for security-10-4]: Makes SnippetFinder ensure feature visibility
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-27convert all the policies to DeclarativePolicyhttp://jneen.net/
2017-06-27update the specs to not require a set to be returnedhttp://jneen.net/
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-06-08Merge branch '25934-project-snippet-vis' into 'security-9-2'DJ Mountney
Fix visibility when referencing snippets See merge request !2101
2017-05-10Merge branch 'snippets-finder-visibility' into 'security'Douwe Maan
Refactor snippets finder & dont return internal snippets for external users See merge request !2094
2017-02-07More backportDouwe Maan