Ce contenu n'est pas disponible dans la langue sélectionnée.
2.2. ModeShape User Roles
Before publishing files to a ModeShape repository, you must be sure that the ModeShape server has at least one user which has the connect and readwrite roles or the connect and admin roles. At the time of installation, a default user modeshapeUser with roles admin and connect is added to the ApplicationRealm. You can add multiple modeshape users using
./add-user.sh
script.
The roles specific to ModeShape are as follows:
- connect - required to access any of the ModeShape WAR applications in JBoss Data Virtualization (REST service, WebDAV service, CMIS service and Repository Explorer) and required to connect to ModeShape using the remote JDBC driver (which is the case for JBDS)
- admin - allows all repository operations, for example, read/write nodes, register/unregister node types, create/delete workspaces, backup/restore, reindex workspaces and unlock any locked nodes.
- readwrite - allows reading/writing nodes but does not allow any of the other operations mentioned for admin role.
- readonly - allows only the reading of nodes (that is navigating node paths).