Open MetaverseRPN opened 5 months ago
I looked further into the Network console to see what the client is being told by the API server and the response appears to be:
{ "type": "NotElevated", "location": "crates/delta/src/routes/servers/member_edit.rs:110:32" }
This is my own server I created for testing purposes... So I'm not sure how it could think I'm "NotElevated"
Edit: From my looking into that line, it seems to be erroring out because my role is lower in the hierarchy than the role I am trying to give myself?
Went and created a brand new server, made no changes except for trying to create a role to give myself, and this issue appears to still persist. I also went and reverted everything to latest official docker images to confirm if it was something I did with the codebase and I still cannot seem to be able to give myself a role without the backend giving me a 403.
What happened?
Attempting to give myself a role as the creator of the server is causing the web client to throw a 403 from Members.tsx.
According to the backend's logs, the patch request is succeeding, so I'm not sure what's causing this:
Any idea why this might be occurring?