Skip to content

Conversation

@Saelmala
Copy link
Contributor

Adds an endpoint /permissions, that will return role and permissions for the user.
Adds 2 new environment variables: ADMIN_ACCESS_KEY and EDITOR_ACCESS_KEY. If neither of them is set, all users will have all permissions. If one or both of them, some features will only be available for that role.

@Saelmala Saelmala self-assigned this Jun 13, 2025
@Saelmala Saelmala marked this pull request as draft June 13, 2025 08:44
@Saelmala Saelmala marked this pull request as ready for review June 13, 2025 08:48
Copy link
Contributor

@birme birme left a comment

Choose a reason for hiding this comment

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

Looks good but I suggest to provide the access key in a header instead of as a query parameter.

@malmen237 malmen237 force-pushed the main branch 3 times, most recently from 2fdfabb to 0cd8cbc Compare June 23, 2025 11:54
@Saelmala Saelmala requested a review from birme June 23, 2025 12:13
@Saelmala Saelmala marked this pull request as draft June 23, 2025 12:14
@Saelmala Saelmala marked this pull request as ready for review June 23, 2025 13:38
@Saelmala Saelmala marked this pull request as draft October 15, 2025 11:30
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.

5 participants