Add admin API for managing IP blocks (#19065)
This commit is contained in:
@@ -9,6 +9,10 @@ class IpBlockPolicy < ApplicationPolicy
|
||||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
||||
def update?
|
||||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
||||
def destroy?
|
||||
role.can?(:manage_blocks)
|
||||
end
|
||||
|
Reference in New Issue
Block a user