I'm having trouble specifying permissions. It seems like this is not implemented, unless I missed something.
I have this code:
$acl = new Acl();
$administrators = new Group('administrators');
$acl->addGroup($administrators);
$peter = new User(1, 'Peter');
$administrators->addUsers([$peter]);
$service_a = new Service('service_a');
$service_b = new Service('service_b');
$administrators->addServices([$service_a, $service_b]);
$read = new Permission('read');
$write = new Permission('write');
$acl->allow($administrators,[$read, $write]); // ??
How can I give the group view-permission on service-A, but deny view-permission on service-B?
Imagine I cannot delete the service from the group, because I need it for other permissions.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.