getAcl() public method

Retrieve the access rights for a folder.
public getAcl ( string $folder ) : array
$folder string The folder to retrieve the ACL for.
return array An array of rights.
Ejemplo n.º 1
0
Archivo: Base.php Proyecto: horde/horde
 /**
  * Retrieve the all access rights on a folder.
  *
  * @param string $folder The folder to retrieve the ACL for.
  *
  * @return string The folder rights.
  */
 public function getAllAcl($folder)
 {
     if (!$this->hasAclSupport()) {
         return array($this->_driver->getAuth() => 'lrid');
     }
     return $this->_driver->getAcl($folder);
 }
Ejemplo n.º 2
0
 /**
  * Retrieve the access rights for a folder.
  *
  * @param string $folder The folder to retrieve the ACL for.
  *
  * @return array An array of rights.
  */
 public function getAcl($folder)
 {
     return $this->_driver->getAcl($folder);
 }