ability search document

This commit is contained in:
Andreas Stephanides
2015-06-15 15:21:22 +02:00
parent b0f1a2823f
commit 72be6c2f10

View File

@@ -145,7 +145,7 @@ end
# Calendar # Calendar
if( user.has_role?("fetuser") || user.has_role?("fetadmin")) if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can [:show, :edit, :update,:new,:create,:write, :write_etherpad, :read_from_etherpad, :dump_to_etherpad], Document can [:show, :edit, :update,:new,:create,:write, :write_etherpad, :read_from_etherpad, :dump_to_etherpad, :search], Document
can :manage, Meeting can :manage, Meeting
can :manage, Meetingtyp can :manage, Meetingtyp
end end