modern-minister-63236
11/17/2022, 3:09 PM{
"namespace": "Group",
"object": "developer",
"relation": "members",
"subject_id": "patrik"
},
{
"namespace": "Group",
"object": "developer",
"relation": "members",
"subject_set": {
"namespace": "User",
"object": "Patrik"
}
}
Where this is the namespace config:
class User implements Namespace {
related: {
manager: User[]
}
}
class Group implements Namespace {
related: {
members: (User | Group)[]
}
}
What’s the point of this? When do I use which e.g. to check for a permission? Is the second relation-tuple saying any users that Patrik (with a capital P) (might) manage are also part of the developer Group?steep-lamp-91158
modern-minister-63236
11/17/2022, 3:29 PMbroad-printer-45521
11/18/2022, 11:22 AMmodern-minister-63236
11/21/2022, 2:56 PMsteep-lamp-91158
Ory is the largest open source community in the world for cloud software application security. We maintain advanced open source security software solving authentication, authorization, access control, application network security, and delegation. Ory implements a variety of industry and best-practice standards including OAuth 2.0 / OAuth 2.1, OpenID Connect, Zero Trust Networking, Google Zanzibar Policy Framework, FIDO2 U2F, WebAuthn, TOTP, and more.
Powered by