GitLab Bot
7484851b5f
Add latest changes from gitlab-org/gitlab@master
2021-04-09 09:09:10 +00:00
GitLab Bot
fa7ac2663b
Add latest changes from gitlab-org/gitlab@master
2020-06-24 06:09:01 +00:00
GitLab Bot
c4c1fc5fe7
Add latest changes from gitlab-org/gitlab@master
2020-05-15 15:08:04 +00:00
GitLab Bot
0b881f9115
Add latest changes from gitlab-org/gitlab@master
2020-02-25 00:09:12 +00:00
GitLab Bot
5ad0cf2655
Add latest changes from gitlab-org/gitlab@master
2020-01-23 12:08:38 +00:00
GitLab Bot
862d225ca0
Add latest changes from gitlab-org/gitlab@master
2019-12-16 15:07:39 +00:00
GitLab Bot
6d43720a1a
Add latest changes from gitlab-org/gitlab@master
2019-10-25 00:06:14 +00:00
Rémy Coutable
ce4b70ce18
Factorize policy helpers into PolicyHelpers
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27 15:41:46 +01:00
Rémy Coutable
1983d05ccd
[CE] Reduce the diff with EE in spec/policies/project_policy_spec.rb
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-27 15:41:46 +01:00
Heinrich Lee Yu
35b8f103a8
Prevent comments by email when issue is locked
...
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.
2019-01-31 16:52:48 +01:00
Douwe Maan
5e9e56924a
Merge branch 'security-10-4-25223-snippets-finder-doesnt-obey-feature-visibility' into 'security-10-4'
...
[Port for security-10-4]: Makes SnippetFinder ensure feature visibility
2018-02-09 12:04:05 -06:00
blackst0ne
27c95364b5
Replace '.team << [user, role]' with 'add_role(user)' in specs
2017-12-22 19:18:28 +11:00
Robert Speicher
72a7b30c9f
Change all `:empty_project` to `:project`
2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
http://jneen.net/
37c401433b
convert all the policies to DeclarativePolicy
2017-06-27 12:44:37 -07:00
http://jneen.net/
963b374dc7
update the specs to not require a set to be returned
2017-06-27 12:41:54 -07:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
DJ Mountney
ae6adf165c
Merge branch '25934-project-snippet-vis' into 'security-9-2'
...
Fix visibility when referencing snippets
See merge request !2101
2017-06-08 09:56:39 -07:00
Douwe Maan
ad309f5d11
Merge branch 'snippets-finder-visibility' into 'security'
...
Refactor snippets finder & dont return internal snippets for external users
See merge request !2094
2017-05-10 16:48:18 +02:00
Douwe Maan
46dff6910d
More backport
2017-02-06 17:19:37 -06:00