adjust_permissions
Reset group and permissions of eXist database.
Description
This functions resets the group (to LCUsers) and permissions (to O755) of eXist db (/db), recursively.
Parameters
- action
- adjust_permissions
Example URL
http://<host>:<port>/<context>/web/admin.xql?action=adjust_permissions
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
Accessing this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available.