Skip to content

Commit

Permalink
📝 document superuser permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
annashamray committed Mar 8, 2024
1 parent 47f39dc commit 7c04f21
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/admin/authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,19 @@ fields you can submit the form.
Now the client who has this token can access the objects with the "Boom" object type.

If you want to know how to use Objects API you can follow :ref:`api_usage`


Superuser permissions
----------------------

It's possible to set superuser permissions in Objects API. A client with such permissions
is able to request objects for all objecttypes.

In the admin page of the Objects API go to the Token authorizations" resource and click on
a token, which should have superuser permissions. Check "is superuser" field. Now this token
has read and write permissions for all objects.

.. warning::

Tokens with superuser permissions are not recommended for production. They should be used
only for test and development purposes.

0 comments on commit 7c04f21

Please sign in to comment.