This commit is contained in:
2015-06-25 16:33:51 +02:00
parent b9d436789c
commit 74e39f45d6
4 changed files with 5 additions and 2 deletions

View File

@@ -25,6 +25,7 @@ class Ability
end
if (user.has_role?("moderator",Beispiel))
can :flag, Beispiel
can [:edit, :update], Beispiel
end
if( user.has_role?("fetuser") || user.has_role?("fetadmin"))
can :manage, Modulgruppe