-
-
Notifications
You must be signed in to change notification settings - Fork 703
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
Datasette --get --actor option #2153
Comments
Building that
Adding imitations of those options (excluding I feel like the names would have to have a common prefix though. Maybe something like this: datasette serve data.db --get `/data/mytable.json' \
--actor-id root \
--r-all view-instance \
--r-database data view-query \
--r-resource data documents update-row Other options could be the longer |
Another option: implement this as a plugin, providing a new command like Or implement |
Annoying that |
datasette client get --actor
Which is a good argument for moving this functionality to |
Also includes a prototype implementation of --actor option from #2153 which I'm using for testing this.
datasette client get --actor
I experimented with a prototype of this here:
Which lets me run requests as if they belonged to a specific actor like this:
Really useful for testing actors an
_r
options. Is this worth adding as a feature?The text was updated successfully, but these errors were encountered: