Overview | Service | Command |
Grant account level rights
Authorization token required | true |
Admin Authorization token required | false |
<GrantRightsRequest> ## GrantRightsRequest
(<ace [zid="{zimbra-id}"] gt="{grantee-type} (usr|grp|egp|all|dom|edom|gst|key|pub|email)" right="..."
[d="{grantee-name}"] [key="..."] [pw="{password}"] [deny="(0|1)"] [chkgt="(0|1)"] /> ## AccountACEInfo)*
</GrantRightsRequest>
The following table describes elements and attributes you can define within a
<GrantRightsRequest>
element:
XPath | Required / Optional | Description |
/ace | Optional (0 or more) | Specify Access Control Entries |
/ace@zid | Optional (0 or 1) | Type:String Zimbra ID of the grantee |
/ace@gt | Required (only 1) | Type:usr|grp|egp|all|dom|edom|gst|key|pub|email The type of grantee:
|
/ace@right | Required (only 1) | Type:String Right. Valid values: viewFreeBusy | invite |
/ace@d | Optional (0 or 1) | Type:String Name or email address of the grantee. Not present if {grantee-type} is "all" or "pub" |
/ace@key | Optional (0 or 1) | Type:String Optional access key when {grantee-type} is "key" |
/ace@pw | Optional (0 or 1) | Type:String Password when {grantee-type} is "gst" (not yet supported) |
/ace@deny | Optional (0 or 1) | Type:0|1 "1" if a right is specifically denied or "0" (default) |
/ace@chkgt | Optional (0 or 1) | Type:0|1 "1 (true)" if check grantee type or "0 (false)" (default) |
<GrantRightsResponse> ## GrantRightsResponse
(<ace [zid="{zimbra-id}"] gt="{grantee-type} (usr|grp|egp|all|dom|edom|gst|key|pub|email)" right="..."
[d="{grantee-name}"] [key="..."] [pw="{password}"] [deny="(0|1)"] [chkgt="(0|1)"] /> ## AccountACEInfo)*
</GrantRightsResponse>
The following table describes elements and attributes you can define within a
<GrantRightsResponse>
element:
XPath | Required / Optional | Description |
/ace | Optional (0 or more) | Access Control Entries |
/ace@zid | Optional (0 or 1) | Type:String Zimbra ID of the grantee |
/ace@gt | Required (only 1) | Type:usr|grp|egp|all|dom|edom|gst|key|pub|email The type of grantee:
|
/ace@right | Required (only 1) | Type:String Right. Valid values: viewFreeBusy | invite |
/ace@d | Optional (0 or 1) | Type:String Name or email address of the grantee. Not present if {grantee-type} is "all" or "pub" |
/ace@key | Optional (0 or 1) | Type:String Optional access key when {grantee-type} is "key" |
/ace@pw | Optional (0 or 1) | Type:String Password when {grantee-type} is "gst" (not yet supported) |
/ace@deny | Optional (0 or 1) | Type:0|1 "1" if a right is specifically denied or "0" (default) |
/ace@chkgt | Optional (0 or 1) | Type:0|1 "1 (true)" if check grantee type or "0 (false)" (default) |