home / docs / sections

Menu

sections: authentication:permissionsdebugview

This data as json

id page ref title content breadcrumbs references
authentication:permissionsdebugview authentication permissionsdebugview Permissions debug tools The debug tool at /-/permissions is available to any actor with the permissions-debug permission. By default this is just the authenticated root user but you can open it up to all users by starting Datasette like this: datasette -s permissions.permissions-debug true data.db The permission debug tools answer four different questions: Why was this decision allowed or denied? Use Permission check view . It shows every matching rule, identifies the winning specificity level, applies actor restrictions and evaluates any required actions. Which resources can the current actor access? Use Allowed resources view to view an access map for a selected action. Which raw rules did Datasette and its plugins contribute? Use Permission rules view to inspect the rules before they are resolved into decisions. Which checks has this Datasette instance performed recently? Use /-/permissions to view recent permission activity. These tools are designed to help administrators and plugin authors understand and confirm the effective permissions configuration. These debug endpoints are exempt from the JSON API stability promise - their JSON shapes may change in future releases. ["Authentication and permissions"] []
Powered by Datasette · Queries took 2.712ms