diff options
author | Douwe Maan <douwe@selenight.nl> | 2018-04-02 20:05:47 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-04-10 16:46:20 +0300 |
commit | 267a909600e02f0728fec1765adf817acc03d813 (patch) | |
tree | bc3b43e72a5f09793ad9217d0d3ed0eedb0173a2 /app/policies/issuable_policy.rb | |
parent | d18285257304115a43defc82202d76b0f498f4c3 (diff) |
Remove edit_note and update_note abilities in favor of admin_note
Diffstat (limited to 'app/policies/issuable_policy.rb')
-rw-r--r-- | app/policies/issuable_policy.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/policies/issuable_policy.rb b/app/policies/issuable_policy.rb index e86d1c8f98e..b431d376e3d 100644 --- a/app/policies/issuable_policy.rb +++ b/app/policies/issuable_policy.rb @@ -18,9 +18,7 @@ class IssuablePolicy < BasePolicy rule { locked & ~is_project_member }.policy do prevent :create_note - prevent :update_note prevent :admin_note prevent :resolve_note - prevent :edit_note end end |