diff options
Diffstat (limited to 'app/policies/external_issue_policy.rb')
-rw-r--r-- | app/policies/external_issue_policy.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/policies/external_issue_policy.rb b/app/policies/external_issue_policy.rb new file mode 100644 index 00000000000..d9e28bd107a --- /dev/null +++ b/app/policies/external_issue_policy.rb @@ -0,0 +1,5 @@ +class ExternalIssuePolicy < BasePolicy + def rules + delegate! @subject.project + end +end |