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

What sort of permissions should there be for the browsable API? #86

Open
Tracked by #1
sanchegm opened this issue Jul 18, 2024 · 0 comments
Open
Tracked by #1

What sort of permissions should there be for the browsable API? #86

sanchegm opened this issue Jul 18, 2024 · 0 comments

Comments

@sanchegm
Copy link
Collaborator

sanchegm commented Jul 18, 2024

 What sort of permissions should there be for the browsable API?

  • Is there a use case for a user to only have view access? Even if that is not the case now, that could be the case in the future? If so, is there information that not all users should see (contact info, member names, etc)?
  • An admin user should have view and admin (edit/create/delete) permissions. But should not have access to edit/view other users/groups.
  • A superuser admin will have view, admin, and edit/view users/groups permissions.

Docs:
https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/

https://www.django-rest-framework.org/api-guide/permissions/

@sanchegm sanchegm mentioned this issue Jul 18, 2024
46 tasks
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

No branches or pull requests

1 participant