Local admins can view audit logs
This commit is contained in:
parent
d41220c5fd
commit
150bd5df3e
1 changed files with 1 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ class Ability
|
|||
can :destroy, User
|
||||
can :view, Screenshot
|
||||
can :destroy, Package
|
||||
can :view, Log
|
||||
end
|
||||
if user.moderator_role?
|
||||
can :approve, Screenshot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue