gallery public

This commit is contained in:
Andreas Stephanides
2015-02-25 16:34:12 +01:00
parent 6286e2dadf
commit 5775c1b419

View File

@@ -59,9 +59,10 @@ class Ability
# Rechteverwaltung fuer Fotos
# can [:show,:index], Gallery, :intern=>false
if loggedin
can [:show,:index], Gallery
can :show, Foto
if loggedin
end
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can :manage, Gallery