Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion openstack/keystone/templates/etc/_policy.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@
'cloud_identity_viewer':%(target.role.name)s or
'cloud_support_tools_viewer':%(target.role.name)s or
'cloud_email_admin':%(target.role.name)s or
'cloud_inventory_viewer':%(target.role.name)s"
'cloud_inventory_viewer':%(target.role.name)s or
'lbaas_cpbmu':%(target.role.name)s"

@bbobrov bbobrov Sep 3, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In our today's setup, adding the role to the list of blocklisted roles means that only users from domain ccadmin and Default will be able to get an assignment with it. Is it what you want to do?

If you are wondering why - before it was not the case, but then September 1 happened.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I want all users to be able to have the role, but only us cloud admins should be able to give the role to them (so not even their project admins). I was told this is how to implement that behavior. Did I misunderstand?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Context: This is for enabling usage of the CPBMU endpoint project by project.


"blocklist_projects": "'{{required ".Values.api.cloudAdminProjectId is missing" .Values.api.cloudAdminProjectId}}':%(target.project.id)s"

Expand Down
4 changes: 3 additions & 1 deletion openstack/octavia/templates/etc/_policy.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,7 @@
"os_load-balancer_api:amphora:get_stats": "rule:context_is_admin",

"os_load-balancer_api:provider-flavor:get_all": "rule:context_is_admin",
"os_load-balancer_api:provider-availability-zone:get_all": "rule:context_is_admin"
"os_load-balancer_api:provider-availability-zone:get_all": "rule:context_is_admin",

"os_load-balancer_api:member:put_cross_pool_members": "role:lbaas_cpbmu and rule:owner"
}
1 change: 1 addition & 0 deletions openstack/octavia/templates/octavia-seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ spec:
- name: loadbalancer_poolmemberadmin
- name: cloud_network_admin
- name: cloud_keymanager_admin
- name: lbaas_cpbmu

services:
- name: octavia
Expand Down
Loading