diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2019-06-12 02:12:21 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2019-06-12 02:12:21 +0300 |
commit | a17a15562d7f1ada0ddce1ad3a0369a69a46bcab (patch) | |
tree | d3fb0512c98bb70a158034e862a3e8e66feec017 /app/policies | |
parent | 2a29f910592e82d8f8d108e15497dd2fbbbb07ca (diff) |
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 'app/policies')
-rw-r--r-- | app/policies/project_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index 3218c04b219..728a3040227 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -164,6 +164,7 @@ class ProjectPolicy < BasePolicy enable :set_issue_iid enable :set_issue_created_at + enable :set_issue_updated_at enable :set_note_created_at end |