You are here:
WebDAV Client Permissions
WebDav client permissions let you configure which API clients can access your B2C Commerce WebDAV files. These permissions also give you fine-grained control over which directories each client can access.
To configure these permissions in Business Manager, create a JSON configuration document that conforms to the format described in the following example.
Configuring WebDAV Client Permissions in Business Manager
To configure WebDAV client permissions:
- Click App Launcher
, and then select . - In the large text field, edit the JSON document configuration as described in the following example.
- Click Save.
JSON Document Format
The following example shows the format of the JSON configuration document:
{
"clients":[
{
"client_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"permissions":[
{
"path":"/impex/src/foo",
"operations":[
"read_write"
]
},
{
"path":"/impex/src/logs",
"operations":[
"read"
]
},
{
"path":"/catalogs",
"operations":[
"read"
]
}
]
},
{
"client_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaab",
"permissions":[
{
"path":"/impex/",
"operations":[
"read_write"
]
}
]
}
]
}
Configuration Document
Use this document to configure WebDAV client permissions for multiple client applications in the context of your organization.
| Property | Type | Constraints | Description |
|---|---|---|---|
clients
|
[ -->Client] | N/A | Array of client-specific permission documents |
Client Document
Use this document to define WebDAV permissions for a client application.
| Property | Type | Constraints | Description |
|---|---|---|---|
client_id
|
String | mandatory=true, nullable=false | The client ID indicating the API client for which the permissions are configured |
permissions
|
[ Permissions] | mandatory=true, nullable=false | Array of directory-based permissions documents Multiple permissions paths can't intersect each other; for example, the
following two paths intersect and are therefore invalid:
|
Permissions Document
Use this document to configure WebDAV permissions.
| Property | Type | Constraints | Description |
|---|---|---|---|
path
|
String | mandatory=true, nullable=false. The path must begin
with /impex, /catalogs,
/dynamic, /libraries,
/logs, /static, or
/securitylogs
|
Directory for which the WebDav permission is granted, including all subdirectories File-specific permissions aren't permitted Note Files in the
/securitylogs path can be granted only read
permissions, not read_write permissions. |
operation
|
[String] | mandatory=true, nullable=false, minItems=1 | Array of operations granted on this directory (Possible values are
Read-only WebDAV commands are Read-write WebDAV commands are COPY, To use the To use the |
Staging
Replicate WebDAV client permissions to Production instances using the Global > WebDAV
Client Permission option within the replication tasks (click App Launcher
, and then select ).
