Joxter
06/20/2025, 1:58 PMsomedocument
.
1. What is the difference between
const permissions = await promiseClient.expandPermissionTree(
{
resource: {
objectType: 'test/document',
objectId: 'somedocument',
},
permission: 'view',
}
)
and analogue with v1.CheckPermissionRequest.create(...)
, v1.ObjectReference.create(...)
? Both work and return the same result.
2. Are there other ways to get users other than this permissions.treeRoot.treeType.intermediate.children[0].treeType.leaf.subjects
?yetitwo
06/20/2025, 7:24 PM