diff options
Diffstat (limited to 'app/policies/commit_signatures/x509_commit_signature_policy.rb')
-rw-r--r-- | app/policies/commit_signatures/x509_commit_signature_policy.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/policies/commit_signatures/x509_commit_signature_policy.rb b/app/policies/commit_signatures/x509_commit_signature_policy.rb new file mode 100644 index 00000000000..6b2477797fc --- /dev/null +++ b/app/policies/commit_signatures/x509_commit_signature_policy.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module CommitSignatures + class X509CommitSignaturePolicy < BasePolicy + delegate { @subject.project } + end +end |