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

Dataset Editor: Offer more details via error message box when encounter insufficient permission error #3427

Closed
t83714 opened this issue Nov 9, 2022 · 1 comment

Comments

@t83714
Copy link
Contributor

t83714 commented Nov 9, 2022

Dataset Editor: Offer more details via the error message box when encounter insufficient permission errors

When users attempt to edit a dataset that they don't have sufficient permission, we only display the following error message box without any details:

CleanShot 2022-11-09 at 12 58 10@2x

We should offer more details (the server actually already specified the reason in response) so users understand which kind of permission they might need in order to proceed.

e.g.:

Error: you are not permitted to perform `object/record/update`.
@t83714 t83714 added this to the v2.2.0 milestone Nov 9, 2022
t83714 added a commit that referenced this issue Nov 9, 2022
@t83714
Copy link
Contributor Author

t83714 commented Nov 10, 2022

closed via PR: #3423

@t83714 t83714 closed this as completed Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant