1
|
<resourceAuthorization>
|
2
|
<id>urn:uuid:UploadApplication:type:fr.cnes.sitools.applications.UploadApplication</id>
|
3
|
<name>UploadApplication</name>
|
4
|
<description>Upload pictures, logos for using in datasets, projects, ...-> administrator user can have GET/POST/PUT/DELETE authorizations to access, add or delete files or folder
|
5
|
-> public must have GET/POST authorization to access and upload the files
|
6
|
In order to upload files using the ExtJs client, the HTTP-BASIC credentials can be sended in the cookie</description>
|
7
|
<url>/sitools/upload</url>
|
8
|
<authorizations>
|
9
|
<authorize>
|
10
|
<role>Administrator</role>
|
11
|
<ALL>true</ALL>
|
12
|
</authorize>
|
13
|
<authorize>
|
14
|
<role>public</role>
|
15
|
<ALL>false</ALL>
|
16
|
<POST>true</POST>
|
17
|
<GET>true</GET>
|
18
|
</authorize>
|
19
|
</authorizations>
|
20
|
</resourceAuthorization>
|