Hey guys I went through keto docs, but I couldn’t ...
# talk-keto
b
Hey guys I went through keto docs, but I couldn’t get idea of what exactly are subject-sets. Can anyone explain with some example. In my case, I have a organisation entity which will the the object and it will have two kinds of member - admin and member. Are admins and members subject sets. If yes then how to create them and add users to it. Thank you!
s
in your case a subject set would be
organizations:foo#members
, i.e. the members of the organization "foo"
b
Thanks We can create the subject set while adding a relation-tuple, right?
s
Yes, the subject of the tuple can be a subject set
You don't really create it, but rather reference it
b
got it. Thanks @steep-lamp-91158!
@steep-lamp-91158 In the earlier version of keto we could create a role in keto. Can we still create it in the latest versions? Couldn’t find anything in the docs related to it, so just checking
s
keto was re-written completely for RBAC-like setups see https://www.ory.sh/docs/keto/guides/rbac