-
Notifications
You must be signed in to change notification settings - Fork 933
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxd: Entitlement enrichment for remaining API entities #14880
lxd: Entitlement enrichment for remaining API entities #14880
Conversation
…nts` field This will avoid having `access_entitlements: null` in the case we have a response without having asked for `with-access-entitlements=...` in the URL query params. Signed-off-by: Gabriel Mougard <[email protected]>
@gabrielmougard as discussed please can you check whether we need to additional slices that convert the pointers back to concrete elements? |
… can have fine-grained permissions - ImageAlias - Server - InstanceBackup - InstanceSnapshot - StorageVolumeBackup - StorageVolumeSnapshot Signed-off-by: Gabriel Mougard <[email protected]>
535e703
to
9fe0f4d
Compare
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
Signed-off-by: Gabriel Mougard <[email protected]>
…pshot Signed-off-by: Gabriel Mougard <[email protected]>
…eVolumeBackup Signed-off-by: Gabriel Mougard <[email protected]>
…ageVolumeSnapshot Signed-off-by: Gabriel Mougard <[email protected]>
…ace entitlement enrichment Signed-off-by: Gabriel Mougard <[email protected]>
…-place entitlement enrichment Signed-off-by: Gabriel Mougard <[email protected]>
…e entitlement enrichment Signed-off-by: Gabriel Mougard <[email protected]>
…titlement enrichment Signed-off-by: Gabriel Mougard <[email protected]>
…n-place entitlement enrichment Signed-off-by: Gabriel Mougard <[email protected]>
…`omitempty` field annotation Signed-off-by: Gabriel Mougard <[email protected]>
9fe0f4d
to
ce7b04e
Compare
@tomponline Now we should have support for all the entities supported by the OpenFGA permission model. I also ensured that we systematically use slice of pointers in the API handlers during the enrichment. |
@gabrielmougard just to confirm, did you test each endpoint is working correctly with-entitlements now? |
This should fix the issues discussed here: https://chat.canonical.com/canonical/pl/c3bjkis1g3nmbytao6q5gcaxuc
This also add entitlement enrichment for API entities that weren't added as part as #14748