src/Jaspersoft/Service/PermissionService.php
public function getRepositoryPermission($uri, $recipientUri)
    {
        $url = $this->service_url . '/permissions' . $uri;
        $url .= ";recipient=" . str_replace('/', '%2F', $recipientUri);
        $data = $this->service->prepAndSend($url, array(200), 'GET', null, true);
        return RepositoryPermission::createFromJSON($data);
    }
public function getRepositoryPermission($uri, $recipientUri)
    {
        $url = $this->service_url . '/permissions' . $uri;
        $url .= ";recipient=" . str_replace('/', '%2F', $recipientUri);
        $data = $this->service->prepAndSend($url, array(200), 'GET', null, true);
        return RepositoryPermission::createFromJSON($data);
    }
public function getRepositoryPermission ( $ uri , $ recipientUri ) { $ url = $ this -> service_url . '/permissions' . $ uri ; $ url .= ";recipient=" . str_replace ( '/' , '%2F' , $ recipientUri ) ; $ data = $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'GET' , null , true ) ; return RepositoryPermission :: createFromJSON ( $ data ) ; }
Get a single permission

@param string $uri URI of the resource within the repository
@param string $recipientUri URI of recipient needed
@return \Jaspersoft\Dto\Permission\RepositoryPermission
Get a single permission