# spicedb


11/20/2022, 9:04 PM
i am just visiting here. not a part of the development team. hence, i can only tell you how i did this. i store users internally, in my database, however i store them. i use SpiceDB for permissions. the identifiers for SpiceDB objects and subjects are my records ids [primary keys]. i populate SpiceDB using the equivalent of:
Copy code
zed relationship create organization:1 owner user:2
zed relationship create event:1 organization organization:1
Only, except for the records that I want seeded [dummy test data], instead of
, which is CLI tool, I use the SpiceDB API.