This commit is contained in:
2015-01-14 09:08:51 +01:00
7 changed files with 17 additions and 50 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