We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8063436 commit 582227eCopy full SHA for 582227e
docs/pages/product/configuration/reference/config.mdx
@@ -1393,7 +1393,7 @@ from cube import config
1393
1394
@config('context_to_roles')
1395
def context_to_roles(ctx: dict) -> list[str]:
1396
- cloud_ctx = ctx['securityContext'].get('cloud', {'roles': []})
+ cloud_ctx = ctx['securityContext'].get('cubeCloud', {'roles': []})
1397
return cloud_ctx.get('roles', [])
1398
```
1399
0 commit comments