Local admins can view audit logs

This commit is contained in:
Christoph Haas 2021-03-03 01:05:48 +01:00
parent d41220c5fd
commit 150bd5df3e

View file

@ -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