canonical / identity-platform-admin-ui

Admin UI for the Canonical identity broker and identity provider solution
Other
6 stars 4 forks source link

Add `can_view` entitlement for each resource creation, with current user as OpenFGA tuple user #298

Closed BarcoMasile closed 2 months ago

BarcoMasile commented 5 months ago

Right now when creating a resource, the user doing it won't have entitlements to actually list that resource (seeing it appear in the list returned by the GET /{resource} APIs. Same goes for the GET /{resource}/{id} APIs. To fix this, we need to also add a tuple for can_view entitlements like what's been done in #295 .

syncronize-issues-to-jira[bot] commented 5 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/IAM-866.

This message was autogenerated