forked from External/greenlight
Added the ability for admins to send a reset password email for users (#737)
This commit is contained in:
committed by
Jesus Federico
parent
1256554ce6
commit
7e3c44575e
@ -37,7 +37,7 @@ class Ability
|
||||
|
||||
if highest_role.can_manage_users
|
||||
can [:index, :roles, :edit_user, :promote, :demote, :ban_user, :unban_user,
|
||||
:approve, :invite], :admin
|
||||
:approve, :invite, :reset], :admin
|
||||
end
|
||||
|
||||
if !highest_role.can_edit_site_settings && !highest_role.can_edit_roles && !highest_role.can_manage_users
|
||||
|
Reference in New Issue
Block a user