Fix GET /api/v1/admin/ip_blocks/:id (#20207)

th-downstream
trwnh 2 years ago committed by GitHub
parent 9a98169232
commit 96f0997992

@ -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…
Cancel
Save