foto gallery - schema.org und download button

This commit is contained in:
Andreas Stephanides
2015-02-24 13:46:43 +01:00
parent 742962255b
commit 67d0d19bd7
5 changed files with 78 additions and 37 deletions

View File

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