11/01/2022, 5:37 PM
Hi folks, I have a use case were the permissions are defined dynamically and i.m not too sure if its possible to model or how to in spicedb. The use case the users can define permission sets objects and add individual permissions to it. Permission sets are the add to users. So I can create a PS
with permission
example, and then give that to
. I also make user1 a user of a folder, And i want to ask if a user is able to view a folder. As response should be true if the user is both a user of that folder and member of a permission set with the the view_folder permission. Not sure that makes ... i've been trying to model this but struggling to find a way