summaryrefslogtreecommitdiff
path: root/spec/policies/project_policy_spec.rb
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2019-06-11 23:12:21 +0000
committerThong Kuah <tkuah@gitlab.com>2019-06-11 23:12:21 +0000
commita17a15562d7f1ada0ddce1ad3a0369a69a46bcab (patch)
treed3fb0512c98bb70a158034e862a3e8e66feec017 /spec/policies/project_policy_spec.rb
parent2a29f910592e82d8f8d108e15497dd2fbbbb07ca (diff)
downloadgitlab-ce-a17a15562d7f1ada0ddce1ad3a0369a69a46bcab.tar.gz
API issues - minor cleanup of permission check
Adds `set_issue_updated_at` similar to `set_issue_created_at` permission and cleans up the related permission check in issues API.
Diffstat (limited to 'spec/policies/project_policy_spec.rb')
-rw-r--r--spec/policies/project_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb
index 8075fcade5f..ed0e82ef179 100644
--- a/spec/policies/project_policy_spec.rb
+++ b/spec/policies/project_policy_spec.rb
@@ -66,7 +66,7 @@ describe ProjectPolicy do
%i[
change_namespace change_visibility_level rename_project remove_project
archive_project remove_fork_project destroy_merge_request destroy_issue
- set_issue_iid set_issue_created_at set_note_created_at
+ set_issue_iid set_issue_created_at set_issue_updated_at set_note_created_at
]
end