Skip to content

Commit 7286bd1

Browse files
authored
horizon: enable multidomain support (#1845)
Signed-off-by: Christian Berendt <berendt@osism.tech>
1 parent 6338df3 commit 7286bd1

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

environments/kolla/configuration.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ octavia_network_type: tenant
8080
# designate
8181
designate_ns_record: openstack.testbed.osism.xyz
8282

83+
# horizon
84+
horizon_keystone_multidomain: true
85+
8386
# manila
8487
enable_manila_backend_cephfs_native: "yes"
8588

environments/kolla/files/overlays/keystone/policy.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
# classify domain managers with a special role
23
"is_domain_manager": "role:domain-manager"
34

@@ -37,7 +38,7 @@
3738
"identity:create_project": "(rule:is_domain_manager and token.domain.id:%(target.project.domain_id)s) or rule:admin_required"
3839
"identity:update_project": "(rule:is_domain_manager and token.domain.id:%(target.project.domain_id)s) or rule:admin_required"
3940
"identity:delete_project": "(rule:is_domain_manager and token.domain.id:%(target.project.domain_id)s) or rule:admin_required"
40-
"identity:list_user_projects": "(rule:is_domain_manager and token.domain.id:%(target.user.domain_id)s) or rule:admin_required"
41+
"identity:list_user_projects": "(rule:is_domain_manager and token.domain.id:%(target.user.domain_id)s) or user_id:%(user_id)s or rule:admin_required"
4142

4243
# allow domain managers to manage role assignments within their domain
4344
# (restricted to specific roles by the 'is_domain_managed_role' rule)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
features:
3+
- |
4+
Horizon now has multi domain support enabled.

0 commit comments

Comments
 (0)