full-diamond-56778
06/09/2023, 7:24 AMconst result = await oryPermissionAPI.expandPermissions({
namespace: 'Solution',
object: 'solution1',
relation: 'owners',
maxDepth: 3,
});
however I can only list deep relationships using relationship name (owners
), not the permission name (view
).
Probably a similar question has come up many times, but it surprises me why in PermissionAPI we use relationship names and not “levels” in the permits
object in the Namespace.
For any help thank you very much! 🙂steep-lamp-91158
full-diamond-56778
06/09/2023, 9:05 AMfull-diamond-56778
06/09/2023, 9:06 AMsteep-lamp-91158
flat-garage-67035
08/09/2023, 12:46 PMflat-garage-67035
08/09/2023, 12:48 PMsteep-lamp-91158
flat-garage-67035
08/09/2023, 1:39 PM