-
-
Notifications
You must be signed in to change notification settings - Fork 698
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
Default menu links should check a real permission #1068
Milestone
Comments
Then this can make it available to root: https://github.com/simonw/datasette/blob/18a64fbb29271ce607937110bbdb55488c43f4e0/datasette/default_permissions.py |
Permission idea: |
Document the new permission here: https://docs.datasette.io/en/stable/authentication.html#built-in-permissions |
I mainly want this so I can add that debug menu to my Dogsheep. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
datasette/datasette/default_menu_links.py
Lines 4 to 6 in 18a64fb
This should check a named permission so that it can be customized by permission plugins.
The text was updated successfully, but these errors were encountered: