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

Fix permissions for users #1054

Merged
merged 3 commits into from
Aug 21, 2023
Merged

Conversation

barbara-chaves
Copy link
Contributor

Fix permissions for users

This PR fixes a bug related to the users (role=user) permissions.
The permissions to EDIT and DELETE scenarios were not being applied correctly, so the users with role=user were never allowed to edit or delete their own scenarios.

Screenshot 2023-08-14 at 11 01 06

In the image above the first 3 scenarios was created by the logged-in user, but the user could not edit or delete them. The image below shows the bug fixed, and the user can edit their scenarios.

Screenshot 2023-08-14 at 11 02 51

@vercel
Copy link

vercel bot commented Aug 14, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
landgriffon-client ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 16, 2023 9:57am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
landgriffon-cookie-traceability ⬜️ Ignored (Inspect) Visit Preview Aug 16, 2023 9:57am
landgriffon-marketing ⬜️ Ignored (Inspect) Visit Preview Aug 16, 2023 9:57am

@barbara-chaves barbara-chaves self-assigned this Aug 14, 2023
@davidsingal davidsingal merged commit 375e298 into dev Aug 21, 2023
@davidsingal davidsingal deleted the client/bugfix/edit-scenarios-permissions branch August 21, 2023 07:45
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.

2 participants