trwnh
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
app/policies/email_domain_block_policy.rb
|
|
@ -5,6 +5,10 @@ class EmailDomainBlockPolicy < ApplicationPolicy |
|
|
|
role.can?(:manage_blocks) |
|
|
|
end |
|
|
|
|
|
|
|
def show? |
|
|
|
role.can?(:manage_blocks) |
|
|
|
end |
|
|
|
|
|
|
|
def create? |
|
|
|
role.can?(:manage_blocks) |
|
|
|
end |
|
|
|