mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
move admin/users to be accessed only by site admins
This commit is contained in:
parent
edd0024a17
commit
80a9544279
5 changed files with 22 additions and 1 deletions
|
|
@ -18,7 +18,6 @@ class AdminAbility
|
|||
end
|
||||
|
||||
def common_abilities_for_roles(user)
|
||||
can :manage, User, id: user.id
|
||||
can :manage, Registration, user_id: user.id
|
||||
|
||||
can :index, Conference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue