simonw / datasette-edit-schema

Datasette plugin for modifying table schemas
Apache License 2.0
16 stars 0 forks source link

"allow" block in plugin configuration #21

Closed simonw closed 1 year ago

simonw commented 4 years 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.

Originally posted by @simonw in https://github.com/simonw/datasette-edit-tables/issues/9#issuecomment-702387658

simonw commented 1 year ago

Made obsolete by a Datasette 1.0 feature: https://docs.datasette.io/en/1.0a5/authentication.html#other-permissions-in-metadata