Skip to content
Snippets Groups Projects
Unverified Commit 72618ebf authored by trwnh's avatar trwnh Committed by GitHub
Browse files

Fix getting a single EmailDomainBlock (#20846)

parent 00b2720e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment