HCP System Management Help
This section contains examples of an ACL in both XML and JSON formats. This ACL grants:
•Read permission to all users
•Write permission to the AD user lgreen that is defined in the ad.example.com domain
•Write and delete permission to HCP user pdgrey
XML format
Here is a sample ACL in XML format:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<accessControlList>
<grant>
<grantee>
<name>all_users</name>
<type>group</type>
</grantee>
<permissions>
<permission>READ</permission>
</permissions>
</grant>
<grant>
<grantee>
<name>lgreen</name>
<type>user</type>
<domain>ad.example.com</domain>
</grantee>
<permissions>
<permission>WRITE</permission>
</permissions>
</grant>
<grant>
<grantee>
<name>pdgrey</name>
<type>user</type>
</grantee>
<permissions>
<permission>WRITE</permission>
<permission>DELETE</permission>
</permissions>
</grant>
</accessControlList>
JSON format
Here is a sample ACL in JSON format:
{
"grant": [{
"grantee": {
"name":"all_users",
"type":"group"
},
"permissions": {
"permission":["READ"]
}
}]
"grant": [{
"grantee": {
"name":"lgreen",
"type":"user",
"domain":"ad.example.com"
},
"permissions": {
"permission":["WRITE"]
}
}]
"grant": [{
"grantee": {
"name":"pdgrey",
"type":"user"
},
"permissions": {
"permission":["WRITE","DELETE"]
}
}]
}
Trademarks and Legal Disclaimer
© 2017 Hitachi Vantara Corporation. All rights reserved.