mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 16:41:36 +01:00
Fix GET /api/v1/admin/ip_blocks/:id (#20207)
This commit is contained in:
parent
5333447be0
commit
029b5cd5b1
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@ class IpBlockPolicy < ApplicationPolicy
|
|||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
||||
def show?
|
||||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
||||
def create?
|
||||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue