Suchergebnis darstellung

This commit is contained in:
Andreas Stephanides
2015-01-14 09:07:34 +01:00
parent fd20bd5c90
commit 47b692b243
6 changed files with 15 additions and 49 deletions

View File

@@ -120,10 +120,13 @@ class Ability
# Calendar
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can :manage, Document
can [:edit, :update,:new,:create], Document
can :manage, Meeting
can :manage, Meetingtyp
end
if user.has_role?("fetadmin")
can :manage, Document
end
if loggedin
end
can :show, Document, :typ=>11