src/Jaspersoft/Service/PermissionService.php
public function updateRepositoryPermissions($uri, $permissions)
    {
		$url = $this->service_url . '/permissions' . $uri;
		$body = json_encode(array('permission' => $permissions));
		$permissions = $this->service->prepAndSend($url, array(200), 'PUT', $body, true, 'application/collection+json', 'application/json');
        return self::batchDataToArray($permissions);
	}
public function updateRepositoryPermissions($uri, $permissions)
    {
		$url = $this->service_url . '/permissions' . $uri;
		$body = json_encode(array('permission' => $permissions));
		$permissions = $this->service->prepAndSend($url, array(200), 'PUT', $body, true, 'application/collection+json', 'application/json');
        return self::batchDataToArray($permissions);
	}
public function updateRepositoryPermissions ( $ uri , $ permissions ) { $ url = $ this -> service_url . '/permissions' . $ uri ; $ body = json_encode ( array ( 'permission' => $ permissions ) ) ; $ permissions = $ this -> service -> prepAndSend ( $ url , array ( 200 ) , 'PUT' , $ body , true , 'application/collection+json' , 'application/json' ) ; return self :: batchDataToArray ( $ permissions ) ; }
Update a set of RepositoryPermission

@param string $uri
@param array $permissions Set of updated RepositoryPermission objects
@return array Set of RepositoryPermissions that were updated
Update a set of RepositoryPermission