public function getPermissionsForUuid($accessEntityUuid)
    {
        // Do not check the database if we haven't all data
        if ($accessEntityUuid == '') {
            return array();
        }
    
        try {
            $accessLevels = $this->getPermissionsRawForUuid($accessEntityUuid);
    
            $accessLevels = $this->runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions', $accessLevels);

            return $accessLevels;
        } catch (\Exception $e) {
            throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
        }
    }
public function getPermissionsForUuid($accessEntityUuid)
    {
        // Do not check the database if we haven't all data
        if ($accessEntityUuid == '') {
            return array();
        }
    
        try {
            $accessLevels = $this->getPermissionsRawForUuid($accessEntityUuid);
    
            $accessLevels = $this->runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions', $accessLevels);

            return $accessLevels;
        } catch (\Exception $e) {
            throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
        }
    }
public function getPermissionsForUuid ( $ accessEntityUuid ) { // Do not check the database if we haven't all data if ( $ accessEntityUuid == '' ) { return array ( ) ; } try { $ accessLevels = $ this -> getPermissionsRawForUuid ( $ accessEntityUuid ) ; $ accessLevels = $ this -> runtimeManager -> executeFilter ( '\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions' , $ accessLevels ) ; return $ accessLevels ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot load the permission for the given uuid "' . $ accessEntityUuid . '".' , 0 , $ e ) ; } }
Returns an array with all granted access levels for the given
access entity uuid

@access public
@param string $accessEntityUuid
@return array|false

@throws \Zepi\Core\AccessControl\Exception Cannot load the permission for the given uuid "{uuid}".
Returns an array with all granted access levels for the given access entity uuid