Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage user permissions for the table #9

Closed
simonw opened this issue Aug 31, 2024 · 4 comments
Closed

Manage user permissions for the table #9

simonw opened this issue Aug 31, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Contributor

simonw commented Aug 31, 2024

No we have user permissions from:

I'm going to add the ability to set them on the table page.

@simonw simonw added the enhancement New feature or request label Aug 31, 2024
@datasette datasette deleted a comment Aug 31, 2024
@simonw
Copy link
Contributor Author

simonw commented Aug 31, 2024

Initial attempt at a UI - doesn't quite work yet:

CleanShot 2024-08-30 at 23 10 10@2x

@simonw
Copy link
Contributor Author

simonw commented Aug 31, 2024

Got it working:

users

@simonw
Copy link
Contributor Author

simonw commented Aug 31, 2024

Needs tests and docs.

simonw added a commit that referenced this issue Aug 31, 2024
This was causing weird test failures where a second test didn't work because it failed
to re-populate the dynamic groups ACL thanks to the 1 second cache. Refs #9
simonw added a commit that referenced this issue Aug 31, 2024
@simonw simonw closed this as completed in 9bdd47f Aug 31, 2024
@simonw
Copy link
Contributor Author

simonw commented Aug 31, 2024

Wrote a TIL about the test pattern I am using: https://til.simonwillison.net/pytest/namedtuple-parameterized-tests

simonw added a commit that referenced this issue Aug 31, 2024
@simonw simonw added this to the Feature complete milestone Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant