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

Feature/user permissions #142

Merged
merged 8 commits into from
Dec 9, 2024
Merged

Feature/user permissions #142

merged 8 commits into from
Dec 9, 2024

Conversation

lukavdplas
Copy link
Contributor

Users now need to be given explicit permission to contribute research data. Close #138

  • Adds an "is contributor" option in the admin interface for users
  • Authentication is no longer required to use the graphQL API. However, only contributors are allowed to make mutations.
  • Only contributors are allowed to visit the data entry pages in the frontend.
  • The LoggedOnGuard for frontend routes is now also used in the user settings page, and shows a message when the user is redirected.

Copy link
Contributor

@XanderVertegaal XanderVertegaal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Feel free to merge after addressing the two small comments I added.

@lukavdplas lukavdplas merged commit 14eb674 into develop Dec 9, 2024
2 checks passed
@lukavdplas lukavdplas deleted the feature/user-permissions branch December 9, 2024 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Permission for contributors
2 participants