Closed seancolsen closed 6 days ago
@seancolsen you'd have to register your user by hitting this endpoint which will create an entry for the UserDatabaseRoleMap
and should resolve this issue.
https://github.com/mathesar-foundation/mathesar/blob/36bea27616477f3ff754cb8ec411ddf1638c1ab0/mathesar/rpc/connections.py#L130-L146
Thanks @Anish9901! That makes sense.
For anyone else (including future-me) I fixed this by sending the following RPC request:
{
"jsonrpc": "2.0",
"method": "connections.grant_access_to_user",
"id": 0,
"params": {
"connection_id": 1,
"user_id": 1
}
}
I'm experiencing a bug which I've pinpointed to #3632.
On 2bf84ad352e541c60960a58c607e5b9a0e9c5e10 (immediately before that PR was merged into develop), I cannot reproduce the bug.
On 531d7dba411523ed3e7332e723710b67f472b819 (when that PR was merged into develop) I'm reproducing the bug as follows:
Send an RPC request with the following body:
Expect a list of schemas.
Observe:
I see the following error output from the service container:
I've restarted my Docker container. I've also tried manually running migrations via:
@mathemancer can you help me troubleshoot this or fix it?