ability for crawlobject

This commit is contained in:
Andreas Stephanides
2015-04-22 18:42:18 +02:00
parent c88a337de7
commit de215c16eb

View File

@@ -32,8 +32,11 @@ class Ability
cannot :delete, Studium
cannot :delete, Modulgruppe
cannot :delete, Modul
end
end
if user.has_role?("fetadmin")
can [:index, :parse, :show], Crawlobject
end
#-----------------------------------------------------
# Rechteverwaltung fuer Informationen
can [:show, :index,:faqs], Themengruppe, :public=>true