-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ability to set permissions on a per-table and per-enrichment basis #24
Labels
enhancement
New feature or request
Comments
simonw
changed the title
Ability to set permissions on a per-table basis
Ability to set permissions on a per-table and per-enrichment basis
Nov 30, 2023
Here's the code that checks permissions: datasette-enrichments/datasette_enrichments/views.py Lines 13 to 17 in eeded41
And: datasette-enrichments/datasette_enrichments/__init__.py Lines 305 to 326 in eeded41
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I shipped a
enrichments
permission that can be coupled to a database.There are actually two cases to consider here:
We may have enrichments (e.g. ones with expensive API keys) that are restricted to some users, independent of which tables they are allowed to run them against.
Maybe
enrichment
is the permission for selecting which enrichments they can use andenrich-table
is the one for specific tables?Originally posted by @simonw in #12 (comment)
The text was updated successfully, but these errors were encountered: