Roles editor bug fix (#721)

* Allow users with just the manage users permission to edit roles

* Allow users with just the manage users permission to edit roles

* Fix update recordings bug
This commit is contained in:
shawn-higgins1
2019-08-01 16:53:55 -04:00
committed by Jesus Federico
parent 60f5cd5c81
commit e1fdc8f58b
7 changed files with 18 additions and 12 deletions

View File

@ -341,7 +341,7 @@ describe UsersController, type: :controller do
user_role = user.highest_priority_role
user_role.can_edit_roles = true
user_role.can_manage_users = true
user_role.save!
@ -364,7 +364,7 @@ describe UsersController, type: :controller do
user_role = user.highest_priority_role
user_role.can_edit_roles = true
user_role.can_manage_users = true
user_role.save!