memgraph / documentation

The official documentation for Memgraph open-source graph database.
https://memgraph.com/docs
MIT License
9 stars 10 forks source link

Clarify docs on Role based access control #986

Open antejavor opened 1 week ago

antejavor commented 1 week ago

It looks like you need these permissions to create some node or relationship:

CREATE DATABASE db; GRANT ALL PRIVILEGES TO user; GRANT DATABASE TO user; GRANT CREATE_DELETE ON LABELS TO user; GRANT CREATE_DELETE ON EDGE_TYPES * TO user; SHOW USERS;

It is not sufficient to do GRANT ALL PRIVILEGES TOuser; GRANT DATABASE * TOuser;

We should revisit: https://memgraph.com/docs/database-management/authentication-and-authorization/role-based-access-control

Context: https://discord.com/channels/842007348272169002/1278498722270937158/1283321686376190054

hal-eisen-MG commented 1 week ago

Some new documentation was added in https://memgraph.com/docs/database-management/multi-tenancy