Skip to content
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

Permission check for every view in Datasette (plus docs) #808

Closed
simonw opened this issue Jun 7, 2020 · 2 comments
Closed

Permission check for every view in Datasette (plus docs) #808

simonw opened this issue Jun 7, 2020 · 2 comments

Comments

@simonw
Copy link
Owner

simonw commented Jun 7, 2020

Every view in Datasette should perform a permission check to see if the current user/actor is allowed to view that page.

This permission check will default to allowed, but having this check will allow plugins to lock down access selectively or even to everything in a Datasette instance.

@simonw
Copy link
Owner Author

simonw commented Jun 7, 2020

I'm going to need to add permissions documentation for this.

@simonw simonw changed the title can-view permission check for every view in Datasette Permission check for every view in Datasette (plus docs) Jun 7, 2020
@simonw
Copy link
Owner Author

simonw commented Jun 7, 2020

... and I want a unit test which confirms that all permissions are documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant