Closed simonw closed 7 months ago
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 and enrich-table
is the one for specific tables?
This will be the first time I've ever done a Datasette permission where the "resource" is something other than a table (here it would be the slug of an enrichent). I hope that works!
This should only be available to the root user and users with specific permissions.