Open simonw opened 2 weeks ago
The UI for this is a bit of a challenge.
The grid I use for the table only really works there because there aren't many table permissions:
Once we get to global permissions there are a whole lot more - and plugins can register their own too.
I'm inclined to say each global permission should get its own dedicated page, but in that case a grid of checkboxes doesn't feel right.
Here's our permission_allowed
plugin hook implementation at the moment - it only triggers for permission checks with a (database, resource)
tuple:
Permissions not associated with a resource, like the
datasette-acl
permission itself.