All Downloads are FREE. Search and download functionalities are using the official Maven repository.

data.scripts.script_default_folders.txt Maven / Gradle / Ivy

Go to download

OpenCms is an enterprise-ready, easy to use website content management system based on Java and XML technology. Offering a complete set of features, OpenCms helps content managers worldwide to create and maintain beautiful websites fast and efficiently.

There is a newer version: 18.0
Show newest version
#
# Script: Create the default folder structure

# Switch to the root context
setSiteRoot "/"

# Create folder structure
createFolder "/" "sites/"
createFolder "/sites/" "default/"
createFolder "/system/" "lost-found/"
createFolder "/" "shared/" 

# Apply folder permissions
chacc "/" "user" "ALL_OTHERS" "+v+r+i"
chacc "/" "role" "ROOT_ADMIN" "+v+w+r+c+d+i"
chacc "/" "role" "DEVELOPER" "+v+w+r+c+d+i"
chacc "/system" "role" "WORKPLACE_USER" "+v+r+i"
chacc "/system/lost-found" "role" "WORKPLACE_MANAGER" "+v+w+r+c+d+i"
chacc "/system/orgunits" "role" "ACCOUNT_MANAGER" "+v+w+r+c+d+i"

chacc "/sites/default" "group" "Users" "+v+w+r+i"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy