Skip to content
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

Add RBAC permission request flow for NoSQL accounts #2289

Merged
merged 6 commits into from
Sep 9, 2024

Conversation

sevoku
Copy link
Member

@sevoku sevoku commented Jul 18, 2024

If connecting to a database account using AAD fails because of missing RBAC permissions, we now notify the user with instructions and an option to assign a contributor role for them.

image

If this fails, show an error notification with a link to RBAC instructions:

image

"Read More" routes the user to https://aka.ms/cosmos-native-rbac

If connecting to a database account using AAD fails because of missing
RBAC permissions, we now notify the user with instructions and
an option to assign a contributor role for them.

If this fails, show an error notification with a link to RBAC instructions.
@sevoku sevoku force-pushed the dev/sevoku/rbac-user-flow branch from a6a4935 to 14ea12a Compare July 18, 2024 11:38
Sometimes the resource tree continously refreshes all expanded nodes
and if authentication fails the RBAC notification pops up again and again.

With this change we show the notification only once for each account node.
Refreshing the parent (resource group) node will create a new instance
and show the notification again.
@sevoku sevoku force-pushed the dev/sevoku/rbac-user-flow branch from 14ea12a to 6f5975c Compare July 18, 2024 12:25
@sevoku sevoku force-pushed the dev/sevoku/rbac-user-flow branch from 8d46a25 to eeeccc9 Compare July 18, 2024 23:26
In addition leave error handling to parent resources extension.
@sevoku sevoku marked this pull request as ready for review July 31, 2024 21:49
@sevoku sevoku requested review from a team as code owners July 31, 2024 21:49
@sevoku sevoku merged commit d311ab3 into microsoft:main Sep 9, 2024
2 checks passed
@sevoku sevoku deleted the dev/sevoku/rbac-user-flow branch September 9, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants