diff options
Diffstat (limited to 'app/policies/work_item_policy.rb')
-rw-r--r-- | app/policies/work_item_policy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/work_item_policy.rb b/app/policies/work_item_policy.rb index ea7559592e1..2f3561f1135 100644 --- a/app/policies/work_item_policy.rb +++ b/app/policies/work_item_policy.rb @@ -13,4 +13,8 @@ class WorkItemPolicy < IssuePolicy # need to make sure we also prevent this rule if read_issue # is prevented rule { ~can?(:read_issue) }.prevent :read_work_item + + rule { can?(:reporter_access) }.policy do + enable :admin_parent_link + end end |