-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1369 from stackhpc/ironic-allow-admins-to-list-bms
Allow admins to list all baremetal nodes
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Retrieve multiple Node records | ||
# GET /nodes | ||
# 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" |
7 changes: 7 additions & 0 deletions
7
releasenotes/notes/allow-admins-to-list-bms-ff0bc40d605d4ca2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
features: | ||
- | | ||
Added a custom policy to Ironic that allows users with the `admin` role to | ||
list all baremetal nodes. This is required at sites where baremetal | ||
provisioning targets a specific node, as we need to look up the node's uuid | ||
to pass as the hypervisor hostname. |