Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : Access Control List Operations : Create Global Data Policy ACL for a User

Create Global Data Policy ACL for a User
Create an ACL for all data policies, including those already created and those that will be created, granting the specified user access to use any data policy.
Note:
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/data_policy_acl?user_id={string}
Request Parameters 
Responses
Response Elements
<Data>
   <DataPolicyId>{
string}</DataPolicyId>
   <GroupId>{string}</GroupId>
   <Id>{string}</Id>
   <UserId>{string}</UserId>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request creates an ACL for the user with the UUID 817e7fd2-6516-48fa-be69-4b07667543bc to be able to use any data policy.
POST http[s]://blackpearl-hostname/_rest_/data_policy_acl?user_id=817e7fd2-6516-48fa-be69-4b07667543bc HTTP/1.1
Sample Response
HTTP/1.1 201 CREATED
<Data>
   <DataPolicyId/>
   <GroupId/>
   <Id>0e61eb85-8715-46c0-9c6b-ec3d3e26203c</Id>
   <UserId>817e7fd2-6516-48fa-be69-4b07667543bc</UserId>
</Data>