Merge "User keystone policy to check if user password can be updated"
This commit is contained in:
commit
f84e3f00a9
|
@ -22,6 +22,7 @@ from openstack_dashboard.dashboards.settings import dashboard
|
||||||
class PasswordPanel(horizon.Panel):
|
class PasswordPanel(horizon.Panel):
|
||||||
name = _("Change Password")
|
name = _("Change Password")
|
||||||
slug = 'password'
|
slug = 'password'
|
||||||
|
policy_rules = (("identity", "identity:change_password"),)
|
||||||
|
|
||||||
|
|
||||||
dashboard.Settings.register(PasswordPanel)
|
dashboard.Settings.register(PasswordPanel)
|
||||||
|
|
Loading…
Reference in New Issue