Page MenuHomePhabricator

Provide a way for OpenStack admins to manage projects they don't belong to in Horizon
Open, LowPublic

Description

Currently a user can only access the 'Project Members' tab of a project if that user is a project admin in the project. That creates a chicken/egg issue for new projects.

There are a few possible workarounds. In theory Horizon should show ALL projects to someone who is admin in admin when 'admin' is the current project. That may be fixable. Also, in some (future? present?) version of keystone we can add roles on the default container and just give admins 'projectadmin' on that, which would give them defacto projectadmin everywhere.

Event Timeline

Vvjjkkii renamed this task from Provide a way for OpenStack admins to manage projects they don't belong to to btbaaaaaaa.Jul 1 2018, 1:08 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
TerraCodes renamed this task from btbaaaaaaa to Provide a way for OpenStack admins to manage projects they don't belong to.Jul 1 2018, 12:52 PM
TerraCodes raised the priority of this task from High to Needs Triage.
TerraCodes updated the task description. (Show Details)
bd808 renamed this task from Provide a way for OpenStack admins to manage projects they don't belong to to Provide a way for OpenStack admins to manage projects they don't belong to in Horizon.Nov 10 2019, 11:11 PM
bd808 triaged this task as Low priority.
taavi subscribed.

This is possible by granting the admin role on the default domain with the "inherited" option enabled. For example:

taavi@cloudcontrol1004 ~ $ os role assignment list --user taavi --domain default --names
+-------+-----------------+-------+---------+---------+--------+-----------+
| Role  | User            | Group | Project | Domain  | System | Inherited |
+-------+-----------------+-------+---------+---------+--------+-----------+
| admin | Majavah@Default |       |         | Default |        | True      |
+-------+-----------------+-------+---------+---------+--------+-----------+

This means that we can: