
data.scripts.script_default_folders.txt Maven / Gradle / Ivy
#
# 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 - 2025 Weber Informatics LLC | Privacy Policy