此内容没有您所选择的语言版本。
16.15. Configuring Roles
Each line of the
soa-roles.properties
file defines a new role of the following form.
<role>=<privilege>[.<repositoryName>[.<workspaceName>]]
<role>=<privilege>[.<repositoryName>[.<workspaceName>]]
- <privilege> is one of "admin", "readonly", "readwrite", or (for WebDAV and RESTful access) "connect"
- <repositoryName> is the name of the repository source to which the role is granted; if absent, the role will be granted for all repository sources
- <workspaceName> is the name of the repository workspace to which the role is granted; if absent, the role will be granted for all workspaces in the repository
For example, one of the existing lines is
admin=admin,connect,readonly,readwrite
, which defines the "admin" role as having all privileges. However, a line such as editCustomer=readonly,readwrite.customer
would define a role allowing read access to all repositories and workspaces, but write access only to the repositories using the "customer" source.