csharp9729
04/14/2023, 1:04 PMapplication
resource with an admin
relationship to the user
.
Now, in my case the admin
role is provided by the JWT token containing a groups: [admin]
claim in the signed JWT, which tells the application that the user is a system administrator. Do I have to synchronize the user roles from the JWT into SpiceDB on login / every request for the application or is there a way to provide something like context to SpiceDB when querying it?
2. If implementing SpiceDB among microservices / different applications, would I rather have a single SpiceDB with something like namespaces or just have one per application?yetitwo
04/14/2023, 1:13 PMcsharp9729
04/14/2023, 3:10 PMyetitwo
04/14/2023, 3:11 PMcsharp9729
04/14/2023, 3:46 PMvroldanbet
04/14/2023, 5:13 PM