Data Types

UploadJwtPathPermissions

Specifies which paths the user has access to, and the level of access the user has to those paths.

Structure

Example

{
"match": {
"path": "/uploads/file.jpg",
"scope": "Children"
},
"permissions": {
"read": {
"file": {
"downloadFile": [
"thumbnail"
],
"getFileDetails": true
},
"folder": {
"getFolderDescription": true,
"getFolderPublicPermissions": true,
"getFolderStorageLayer": true,
"listFolderChildren": true
}
},
"write": {
"file": {
"createFile": true,
"deleteFile": true,
"overwriteFile": true
},
"folder": {
"createVirtualFolder": true,
"deleteVirtualFolder": true,
"setFolderDescription": true,
"setFolderPublicPermissions": true,
"setFolderStorageLayer": true
}
}
}
}

Properties

match

Describes which file(s) and/or folder(s) to apply the permissions to.

Type: PathPattern

Required: Yes

permissions

The permissions granted to the user when accessing the file(s) and/or folder(s) matched by the match clause.

Type: UploadJwtGrants

Required: No

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: