Hi again,

I followed your advice and I'm now working with a "clean" method.
I created an "OPTIMUS" namespace as you recommended :

$authBackend = new Optimus\DAV\Auth\Backend\PDO($pdo);
$authBackend->setRealm('OPTIMUS');
$principalBackend = new Optimus\DAVACL\PrincipalBackend\PDO($pdo);
$caldavBackend = new Sabre\CalDAV\Backend\PDO($pdo);
$carddavBackend   = new Optimus\CardDAV\Backend\PDO($pdo);
$lockBackend = new Sabre\DAV\Locks\Backend\PDO($pdo);
$storageBackend = new Sabre\DAV\PropertyStorage\Backend\PDO($pdo);

I'm now working on the ACL and I'm a bit confused about the way it works.
This is an example groupmembers database

1 4 20
2 4 23
3 48 4

I thought that user 23 would have access only to user 4.
But in fact, it has also access to user 48
As I understand, since user 4 has access to user 48, user 23 also 
"inherits" the right to access user 48
Is that the expected behaviour ?
How can user 23 get access to user 4, without getting access to user 48.
Is there an easy way with the actual implementation of ACL ?

-- 
You received this message because you are subscribed to the Google Groups 
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sabredav-discuss/e94470cd-033d-4160-a2cb-b4e0f3173cc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to