yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44147
[Bug 1531674] [NEW] Prevent an admin from removing their own custom admin role
Public bug reported:
Horizon currently prevents admins from removing their own "admin" roles
from the currently-scoped project[1]/domain[2]. Now that Horizon
supports custom admin roles[3], we should prevent admins from removing
their custom admin roles.
[1] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/projects/workflows.py#L666
[2] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/domains/workflows.py#L359
[3] https://review.openstack.org/#/c/123745/
** Affects: horizon
Importance: Undecided
Assignee: Brad Pokorny (bpokorny)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Brad Pokorny (bpokorny)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1531674
Title:
Prevent an admin from removing their own custom admin role
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Horizon currently prevents admins from removing their own "admin"
roles from the currently-scoped project[1]/domain[2]. Now that
Horizon supports custom admin roles[3], we should prevent admins from
removing their custom admin roles.
[1] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/projects/workflows.py#L666
[2] https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/domains/workflows.py#L359
[3] https://review.openstack.org/#/c/123745/
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1531674/+subscriptions