mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Fix getting a single EmailDomainBlock (#20846)
This commit is contained in:
parent
00b2720ef0
commit
72618ebf03
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user