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

Define permission class for API views #19

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

nijel
Copy link
Contributor

@nijel nijel commented Aug 5, 2024

The code was relying on default AllowAny, but the default can be changed in the settings, thus breaking the authentication ceremony.

On the other side, the registration ceremony needs authenticated user, so the permission class states that now.

The code was relying on default AllowAny, but the default can be changed
in the settings, thus breaking the authentication ceremony.

On the other side, the registration ceremony needs authenticated user,
so the permission class states that now.
@Stormheg Stormheg merged commit 587ca97 into Stormbase:main Sep 10, 2024
@Stormheg
Copy link
Member

Thanks!

@nijel nijel deleted the permissions branch September 11, 2024 05:55
Stormheg added a commit that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants