cognee-permissions
Installation
SKILL.md
Users, permissions, and multi-tenancy
Every dataset belongs to an owner, and every operation on it is checked
against a grant: a principal (user, role, or tenant) holding a
permission (read, write, delete, share) on a dataset. With access
control on (the default), each user+dataset pair also gets its own graph and
vector databases.
Use it
Act as a user in the SDK
Without user=, SDK calls run as the default user
(default_user@example.com, or DEFAULT_USER_EMAIL). To act as someone
else, create or load them and pass user=:
import cognee
from cognee.modules.users.methods import create_user, get_user