hasAclSupport()
hasAclSupport() : boolean
Does the backend support ACL?
Returns
boolean —True if the backend supports ACLs.
Defines the ACL query.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
getAcl(string $folder) : array
Retrieve the access rights for a folder. This method will use two calls to the backend. It will first get the individual user rights via getMyRights and will subsequently fetch all ACL if the user has admin rights on a folder. If you already know the user has admin rights on a folder it makes more sense to call getAllAcl() directly.
string | $folder | The folder to retrieve the ACL for. |
An array of rights.