Commit fd42699e authored by Kristian Feldsam's avatar Kristian Feldsam
Browse files

Added info about ACLs to the README

Signed-off-by: Kristian Feldsam's avatarKristian Feldsam <>
parent acb94b85
......@@ -68,6 +68,21 @@ $vms = $response->getIndexedBy('ID', 'VM');
$vm = $vms->get(2403);
**Working with ACL rules**
[Understanding ACL Rules](
// user readable acl rule
$aclRule = '@131 DATASTORE/%100 USE #0';
// parse rule to hex numbers
list($user, $resource, $rights, $zone) = \One\Acl::parseRule($aclRule);
// use hex in api call
$client->aclAddrule($user, $resource, $rights, $zone);
## Development
To contribute bug patches or new features, you can use the github Pull Request model. It is assumed that code and documentation are contributed under the Apache License 2.0.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment