Skip to content

Conversation

jovial
Copy link
Contributor

@jovial jovial commented Jul 29, 2025

Policy override was causing lots of error messages in the Ironic view of Horizon.

I've asked upstream if we can get this enabled by default:

https://bugs.launchpad.net/horizon/+bug/2102214

But are yet to see any traction.

Policy override was causing lots of error messages in the Ironic view of
Horizon.

I've asked upstream if we can get this enabled by default:

https://bugs.launchpad.net/horizon/+bug/2102214

But are yet to see any traction.
@@ -4,4 +4,4 @@
# GET /nodes/detail
# Intended scope(s): system, project
# Overridden: added role:admin
"baremetal:node:list_all": "role:admin or (role:reader and system_scope:all) or (role:service and system_scope:all) or rule:service_role"
"baremetal:node:list_all": "role:baremetal_node_list_all or (role:reader and system_scope:all) or (role:service and system_scope:all) or rule:service_role"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it mean that regular admin users now won't be able to list all baremetals from cli? - I think that was idea behind this policy override. also baremetal_node_list_all don't exist by default?

Copy link
Contributor Author

@jovial jovial Aug 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

baremetal_node_list_all don't exist by default?

Correct, you'd have to create that.

does it mean that regular admin users now won't be able to list all baremetals from cli?

Correct, unless they own all nodes (via setting the owner property on baremetal nodes). You can add the new role if you need that behaviour (but it will break your horizon).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants