When I first setup the on-premise setup (Docker Composer using the onpremise github), I was able to invite a user and such as normal. This was a few months back. Today, I am trying to invite a new user and receiving the error “You aren’t allowed to invite members.” everytime I try.
In the same way, I have random messages where I am “not authorized” to do something - like change integrations for my organization. I am an admin and a superuser, so I should be able to? It’s like something changed or was modified and I’m not sure where to even begin troubleshooting.
Hi @CalebJTSmith! Your session may have got corrupted (no idea why tho). Did you try simply logging out and in again? I know that for certain actions we check another “sudo” session variable so that might be the issue.
Have you tried running docker-compose run --rm web upgrade to see if it can fix anything on the database?
If that still doesn’t work I’d recommend running docker-compose run --rm web createuser --superuser to create a new user and login with that to fix and investigate the issue more.
The superuser that I create from the CLI is not able to do anything either - it has the same weird unauthorized errors. Let me go take a look at what logs I can find. Is there a general place where those get dumped?
I did a dump of the logs with docker-compose logs web and I just see the web requests. I see the 403 returned for /api/0/organizations/{ORGNAME}/members/, but no errors or anything.
Sorry! Back from vacation. Well, I took a look at the setting and was going to reply back and searched something real quick and came across this thread (No permissions for superuser)
It turns out - I had removed that default settings when we were originally setting up azure devops integration by making SENTRY_FEATURES a new object of values instead of extending on the default. So that was a wild goose chase for sure… but good to know if anyone makes a dumb mistake like I did.