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

Permissions #7

Closed
simonw opened this issue Feb 26, 2024 · 3 comments
Closed

Permissions #7

simonw opened this issue Feb 26, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@simonw
Copy link
Collaborator

simonw commented Feb 26, 2024

At a minimum can bootstrap off the existing create-table and insert-rows permissions in Datasette 1.0.

@simonw simonw added the enhancement New feature or request label Feb 26, 2024
@simonw
Copy link
Collaborator Author

simonw commented Mar 7, 2024

I'm going to use a custom datasette-extract permission for this - it costs money to run the GPT-4 API so having a separate permission makes sense.

@simonw
Copy link
Collaborator Author

simonw commented Mar 7, 2024

I'm going to require both create-table and insert-rows as well, otherwise installing this plugin might accidentally give users a backdoor way to create tables that they did not have before.

@simonw simonw closed this as completed in 88781d0 Mar 7, 2024
simonw added a commit that referenced this issue Mar 7, 2024
Refs #1, #2, #3, #4, #5, #6, #7, #12, #13
@simonw
Copy link
Collaborator Author

simonw commented Mar 7, 2024

These need to be taken into account by the code that shows the menu items too.

@simonw simonw reopened this Mar 7, 2024
@simonw simonw closed this as completed in b6351e2 Mar 7, 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