diff options
author | http://jneen.net/ <jneen@jneen.net> | 2016-08-18 20:40:39 +0300 |
---|---|---|
committer | http://jneen.net/ <jneen@jneen.net> | 2016-08-30 21:39:22 +0300 |
commit | 2b26270ab7c489ebde4aac835f8e7307dc7a7441 (patch) | |
tree | 6022b217bd431194f54f4065eeb1aeb4779a75db /app/policies/external_issue_policy.rb | |
parent | 06ba2602c59e5f6627d892ed9fdb2dafade5768b (diff) |
add Deployment, Environment, and ExternalIssue policies
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 |