We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Expose the superuser django User boolean field in the User API as a read only field.
superuser
Add an env var on the API called ONLY_SUPERUSERS_CAN_CREATE_ORGANISATIONS that defaults to False.
ONLY_SUPERUSERS_CAN_CREATE_ORGANISATIONS
False
If this env var is True, only show the Create Organisation button to superuser Django admins.
True
Create Organisation
The text was updated successfully, but these errors were encountered:
Adds is_superuser to /api/v1/auth/users/me/ endpoint that can be used to check if the current user is super user or not
is_superuser
Sorry, something went wrong.
kyle-ssg
No branches or pull requests
Expose the
superuser
django User boolean field in the User API as a read only field.Add an env var on the API called
ONLY_SUPERUSERS_CAN_CREATE_ORGANISATIONS
that defaults toFalse
.If this env var is
True
, only show theCreate Organisation
button to superuser Django admins.The text was updated successfully, but these errors were encountered: