gitlab-org--gitlab-foss/spec/policies
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
..
application_setting Allow a user to accept/decline terms 2018-05-04 13:54:43 +02:00
ci Eliminate duplicated words 2018-11-22 01:01:23 +09:00
clusters Add policy for clusters on group level 2018-11-08 23:14:06 +13:00
concerns Rename the module and add a simple test to check 2018-07-27 17:52:45 +08:00
base_policy_spec.rb Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true 2017-07-27 14:31:53 +02:00
deploy_key_policy_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
deploy_token_policy_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
environment_policy_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
global_policy_spec.rb Revert "Merge branch 'bvl-instance-stats-default' into 'master'" 2018-08-06 15:44:23 +00:00
group_policy_spec.rb Merge branch '34758-extend-can-create-cluster-logic' into 'master' 2018-12-30 10:54:08 +00:00
issuable_policy_spec.rb Adds validation to check if user can read project 2018-12-19 10:56:11 +00:00
issue_policy_spec.rb Hides Close MR button on merged MR 2018-10-02 16:17:55 +02:00
namespace_policy_spec.rb Update policies unit tests 2017-11-27 23:06:43 +01:00
note_policy_spec.rb Prevent award_emoji to notes not visible to user 2019-01-31 16:51:17 +01:00
personal_snippet_policy_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
project_policy_spec.rb Fixed bug when external wiki is enabled 2019-01-31 16:51:53 +01:00
project_snippet_policy_spec.rb Prevent comments by email when issue is locked 2019-01-31 16:52:48 +01:00
protected_branch_policy_spec.rb Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
user_policy_spec.rb Allow users to set a status 2018-07-30 15:01:26 +02:00