Example #1
0
 /**
  * Checks if the current user has the requested permissions on this
  * address book.
  *
  * @param integer $perm  The permission to check for.
  *
  * @return boolean  True if the user has permission, otherwise false.
  */
 public function hasPermission($perm)
 {
     return $this->_share->hasPermission($GLOBALS['registry']->getAuth(), $perm);
 }