forked from External/greenlight
Added room configuration tab to admin panel
This commit is contained in:
@ -27,7 +27,8 @@ class Ability
|
||||
else
|
||||
highest_role = user.highest_priority_role
|
||||
if highest_role.get_permission("can_edit_site_settings")
|
||||
can [:site_settings, :update_settings, :coloring, :registration_method], :admin
|
||||
can [:site_settings, :room_configuration, :update_settings,
|
||||
:update_room_configuration, :coloring, :registration_method], :admin
|
||||
end
|
||||
|
||||
if highest_role.get_permission("can_edit_roles")
|
||||
|
Reference in New Issue
Block a user