Added /-/permissions debug tool, closes #788

Also started the authentication.rst docs page, refs #786.

Part of authentication work, refs #699.
This commit is contained in:
Simon Willison 2020-05-31 22:00:36 -07:00
commit dfdbdf378a
8 changed files with 152 additions and 3 deletions

18
docs/authentication.rst Normal file
View file

@ -0,0 +1,18 @@
.. _authentication:
================================
Authentication and permissions
================================
Datasette's authentication system is currently under construction. Follow `issue 699 <https://github.com/simonw/datasette/issues/699>`__ to track the development of this feature.
.. _PermissionsDebugView:
Permissions Debug
=================
The debug tool at ``/-/permissions`` is only available to the root user.
It shows the thirty most recent permission checks that have been carried out by the Datasette instance.
This is designed to help administrators and plugin authors understand exactly how permission checks are being carried out, in order to effectively configure Datasette's permission system.