1. Grant privilege

Grant access to the project.

1.1. Path Parameters

Table 1. /projects/{projectId}:grantPrivileges
Parameter Description

projectId

project identifier

1.2. Request Fields

Path Type Description

[]

array<Privilege>

list of privileges to grant

[].privilegeType

string

type of privilege (READ_PROJECT/WRITE_PROJECT)

[].login

string

user login who should gain access

1.3. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project:grantPrivileges' -i -X PATCH \
    -d '[{"privilegeType":"READ_PROJECT", "login":"test_user"}]' \
    --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"

2. Revoke privilege

Revoke access to the project.

2.1. Path Parameters

Table 2. /projects/{projectId}:revokePrivileges
Parameter Description

projectId

project identifier

2.2. Request Fields

Path Type Description

[]

array<Privilege>

list of privileges to revoke

[].privilegeType

string

type of privilege (READ_PROJECT/WRITE_PROJECT)

[].login

string

user login who should lose access

2.3. CURL sample

$ curl 'https://minerva-service.lcsb.uni.lu/minerva/api/projects/test_project:revokePrivileges' -i -X PATCH \
    -d '[{"privilegeType":"READ_PROJECT", "login":"test_user"}]' \
    --cookie "MINERVA_AUTH_TOKEN=xxxxxxxx"