foto abiltiy

This commit is contained in:
Andreas Stephanides
2015-02-25 11:41:13 +01:00
parent 2ab6be038f
commit e410aef098

View File

@@ -63,7 +63,7 @@ class Ability
end
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can :manage, Gallery
can :show, Foto
can :manage, Foto
end
unless user.has_role?("fetadmin")
cannot :delete, Gallery