forked from bofh/fetsite
Merge branch 'master' of https://github.com/fetsite/fetsite
Conflicts: Gemfile.lock
This commit is contained in:
@@ -23,6 +23,7 @@ class Ability
|
||||
can :manage, Lva
|
||||
can :manage, Studium
|
||||
can :manage, Beispiel
|
||||
can :manage, Lecturer
|
||||
end
|
||||
unless user.has_role?("fetadmin")
|
||||
cannot :delete, Studium
|
||||
|
||||
Reference in New Issue
Block a user