Skip to content
Snippets Groups Projects
Unverified Commit c28f12fc authored by Arnaud Levy's avatar Arnaud Levy Committed by GitHub
Browse files

Masquer les admins serveur (#2694)

* Not working

* fix

* test
parent 2576b91f
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,6 @@ class Ability::Admin < Ability
can :manage, University::Person::Experience, university_id: @user.university_id
can :manage, University::Person::Involvement, university_id: @user.university_id
can :manage, University::Role, university_id: @user.university_id
can :read, User, university_id: @user.university_id
can :manage, User, university_id: @user.university_id, role: @user.managed_roles
can :manage, User::Favorite, user_id: @user
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment