#about roles and permissions mongo db

7 messages · Page 1 of 1 (latest)

heady beaconBOT
#

Project ID: f8dc3dcf-4873-4ef8-b8c9-b0d744e7f32e

cursive creek
#

f8dc3dcf-4873-4ef8-b8c9-b0d744e7f32e

rich hamlet
#

please ask your questions without using chat gpt, and provide actual errors.

cursive creek
#

I have a database and I try to give some roles and permissions so that certain users can enter the database, however when creating the users and logging in with them I still have the permissions as if I were in root and it does not apply the user restrictions, my question is, does this have something to do with some railway configuration?
I am a Spanish user, that's why gpt chat helps me to do te question:(

rich hamlet
#

why do users need to log into your database?

cursive creek
#

My database is for a sports venue project, so for example the administrator can see all the collections, however the other users, for example the referee, cannot see all the collections, because of this I am creating roles, however restrictions are not being applied, I am using compass to handle this

rich hamlet
#

I'm not sure why that means your users need to directly access the database, the only thing that should be accessing the database is your code