datasette / datasette-acl

Advanced permission management for Datasette
Apache License 2.0
1 stars 0 forks source link

UI for configuring just groups for a table #4

Closed simonw closed 2 months ago

simonw commented 2 months ago

Very simple initial design:

image

simonw commented 2 months ago

I’ll need to create any missing dynamic groups on startup, refs #2

simonw commented 2 months ago

The groups can be links to this page:

simonw commented 2 months ago

Got the most basic possible version of this working:

basic-acl

Needs a permission check, then I'll land it.

simonw commented 2 months ago

Adding a datasette-acl permission, so you need this to see the new options:

datasette . --root --secret 1 --internal internal.db \
  -s permissions.datasette-acl.id root
simonw commented 2 months ago

Needs tests, those can happen in conjunction with:

simonw commented 2 months ago

This is good enough for the first alpha.