Add revoke all actions to received blocks resource
This commit is contained in:
parent
2df389c97e
commit
df1c59280f
10 changed files with 120 additions and 115 deletions
|
@ -56,7 +56,7 @@ class Ability
|
|||
can [:read, :resolve, :ignore, :reopen], Issue
|
||||
can :create, IssueComment
|
||||
can [:create, :update, :destroy], Redaction
|
||||
can [:create, :revoke_all], UserBlock
|
||||
can [:create, :destroy], UserBlock
|
||||
can :update, UserBlock, :creator => user
|
||||
can :update, UserBlock, :revoker => user
|
||||
can :update, UserBlock, :active? => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue