You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all other permissions, you can use one or more "permissions" blocks in your metadata.
To grant access to the permissions debug tool to all signed in users you can grant permissions-debug to any actor with an id matching the wildcard * by adding this a the root of your metadata:
permissions-debug checked at 2023-08-06T16:22:58.997841 ✗ (used default)
Actor: {"id": "myuser"}
It seems that in spite of having tried to give the permissions-debug permission to the "myuser" user in my metadata.yml file, datasette does not agree that "myuser" has permission permissions-debug..
https://docs.datasette.io/en/latest/authentication.html#other-permissions-in-metadata says the following:
I tried this.
My
metadata.yml
file looks like:And then I run
And I open a session for the "root" user of datasette with the link given.
I open a private browser session and log in as "myuser" from http://127.0.0.1:8001/-/login
Then I check http://127.0.0.1:8001/-/actor which confirms that I am logged in as the "myuser" actor
In the session where I am logged in as "myuser" I then try to go to http://127.0.0.1:8001/-/permissions
But all I get there as the logged in user "myuser" is
And then if I check the http://127.0.0.1:8001/-/permissions as the datasette "root" user from another browser session, I see:
It seems that in spite of having tried to give the
permissions-debug
permission to the "myuser" user in mymetadata.yml
file, datasette does not agree that "myuser" has permissionpermissions-debug
..What do I need to do differently so that my "myuser" user is able to access http://127.0.0.1:8001/-/permissions ?
The text was updated successfully, but these errors were encountered: