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

Fixes wrong permissions check. #51

Merged
merged 1 commit into from
Sep 18, 2022

Conversation

tiagof
Copy link
Contributor

@tiagof tiagof commented Sep 2, 2022

The edit-event-modal must be shown if the user can only View (and not edit).
Additionally, the permission to decide whether the form should be disabled is canEdit and not canView

These are bugs from my previous PR, sorry.

@tiagof
Copy link
Contributor Author

tiagof commented Sep 3, 2022

@saade could you please check the failed "checks"? Doesn't seem to be related to any code change from this PR..

@saade saade merged commit 39b085d into saade:main Sep 18, 2022
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