In order to get unit access rights list for child users please invoke core/check_accessors command:
svc=core/check_accessors¶ms={"items":[<long>], "flags":<bool>}
Name | Description |
---|---|
items | unit id array |
flags | flag for adding “dact” param in response: 1 - add param, 0 - don't add |
{ "<unit_id>": { /* unit id */ "<acc_id>": { /* user id */ "acl": <uint>, /* inherited unit access rights, they are put as mask on direct access rights, if inherited access rights prohibit -- result access right prohibit */ "dacl": <uint> /* if flags:1 set; direct unit access rights (set by unit owner) */ }, ... /* other user ids (if any) */ }, ... /* other unit ids (if requested) */ }
|