getMyAcl() public method

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