Joey
09/13/2022, 5:55 PMIgor.Shmukler
09/13/2022, 5:55 PMIgor.Shmukler
09/13/2022, 5:55 PMIgor.Shmukler
09/13/2022, 5:55 PMrocco
09/13/2022, 8:27 PMJoey
09/13/2022, 8:30 PMradmongoose
09/13/2022, 10:01 PMJoey
09/13/2022, 11:02 PMradmongoose
09/14/2022, 3:17 AMJoey
09/14/2022, 3:20 AMhighserpent
09/14/2022, 5:30 AMgcoss
09/14/2022, 5:57 AMvroldanbet
09/14/2022, 7:57 AMIgor.Shmukler
09/14/2022, 10:53 AMlookupSubjects
API to get a list of subjects with access to a particular resource. It is working, and I get the list. However, the list entries are in the format, where only object id value is immediately useful as:
{
subjectObjectId: '2',
excludedSubjectIds: [],
lookedUpAt: { token: 'GgQKAjMx' }
}
I understand that "expand" API might be available to get the types of permissions for each subject. Please point me to an example. Further, if possible, I would rather combine lookup with expand, instead of running an additional query for each subject.
Suggestions?vroldanbet
09/14/2022, 11:03 AMIgor.Shmukler
09/14/2022, 11:08 AMrelation
between object and subjectvroldanbet
09/14/2022, 11:11 AMpermission
is likely to be the result of traversing the relationship graph. Expand API
shows you that graph: it shows "how" subjects get a specific permission
over a subject
. The result is a graph.Igor.Shmukler
09/14/2022, 11:17 AMrelation
type and using a call per relation
build something like {read: true, write: true, execute: false}
Right?Igor.Shmukler
09/14/2022, 11:17 AMvroldanbet
09/14/2022, 11:19 AMvroldanbet
09/14/2022, 11:19 AMIgor.Shmukler
09/14/2022, 11:20 AMvroldanbet
09/14/2022, 11:20 AMIgor.Shmukler
09/14/2022, 11:21 AMIgor.Shmukler
09/14/2022, 11:21 AMIgor.Shmukler
09/14/2022, 11:21 AMvroldanbet
09/14/2022, 11:21 AMIgor.Shmukler
09/14/2022, 11:21 AMvroldanbet
09/14/2022, 11:25 AMvroldanbet
09/14/2022, 11:26 AM