Closed simonw closed 1 year ago
I'd like to include a mechanism for setting permissions in the plugin configuration, using an "allow" block - and code similar to the default Datasette permissions code in https://github.com/simonw/datasette/blob/448d13ea6b15a9c5c9165a4f6049d073f1524a5e/datasette/default_permissions.py I may apply the same pattern to other plugins such as datasette-upload-csvs if I like it.
I'd like to include a mechanism for setting permissions in the plugin configuration, using an "allow" block - and code similar to the default Datasette permissions code in https://github.com/simonw/datasette/blob/448d13ea6b15a9c5c9165a4f6049d073f1524a5e/datasette/default_permissions.py
"allow"
I may apply the same pattern to other plugins such as datasette-upload-csvs if I like it.
datasette-upload-csvs
Originally posted by @simonw in https://github.com/simonw/datasette-edit-tables/issues/9#issuecomment-702387658
Made obsolete by a Datasette 1.0 feature: https://docs.datasette.io/en/1.0a5/authentication.html#other-permissions-in-metadata
Originally posted by @simonw in https://github.com/simonw/datasette-edit-tables/issues/9#issuecomment-702387658