I have a API with a /login. The user than authenticates to a OIDC server. After that I assume I will have to ensure that particular user resource exists in spicedb correct? I guess I could also attempt to bulk load resources too?
v
vroldanbet
10/04/2023, 2:23 PM
You can model the user with a "self" relationship, or you could model a root/platform resource that holds all users to check for the existence of the user
s
smithp4ntz
10/04/2023, 9:42 PM
Am I not understanding that all resources have to be created added to SpiceDB right?
smithp4ntz
10/04/2023, 9:42 PM
created /added*
v
vroldanbet
10/04/2023, 10:49 PM
Resources do not exist in isolation really. Everything is defined through relationships, which is really what defines the existence of resources and subjects