diff --git a/lam/docs/manual-sources/howto.xml b/lam/docs/manual-sources/howto.xml index ecd0ed85..e25333f3 100644 --- a/lam/docs/manual-sources/howto.xml +++ b/lam/docs/manual-sources/howto.xml @@ -7276,12 +7276,21 @@ OK (10 msec) To activate this feature please add the "Custom scripts" module to all needed account types on the configuration pages. - You can specify multiple scripts for each action type (e.g. - modify) and account type (e.g. user). The scripts need to be located on - the filesystem of your webserver and will be executed in its user - environment. E.g. if you webserver runs as user www-data with the group - www-data then the custom scripts will be run under this user with his - rights. The output of the scripts will be shown in LAM. + + + + + + + + + In "Module settings" you can specify multiple scripts for each + action type (e.g. modify) and account type (e.g. user). The scripts need + to be located on the filesystem of your webserver and will be executed + in its user environment. E.g. if you webserver runs as user www-data + with the group www-data then the custom scripts will be run under this + user with his rights. The output of the scripts will be shown in + LAM. You can specify the scripts on the LAM configuration pages. @@ -7322,7 +7331,7 @@ OK (10 msec) preCreate - executed before creating a new account (cancels operation + Executed before creating a new account (cancels operation if a script returns an exit code > 0, not available for file upload) @@ -7330,7 +7339,7 @@ OK (10 msec) postCreate - executed after creating a new account (does Executed after creating a new account (does not run if preCreate or LDAP operations fail) @@ -7338,14 +7347,14 @@ OK (10 msec) preModify - executed before an account is modified (cancels operation + Executed before an account is modified (cancels operation if a script returns an exit code > 0) postModify - executed after an account was modified (does Executed after an account was modified (does not run if preModify or LDAP operations fail) @@ -7353,14 +7362,14 @@ OK (10 msec) preDelete - executed before an account is modified (cancels operation + Executed before an account is modified (cancels operation if a script returns an exit code > 0) postDelete - executed after an account was modified (does Executed after an account was modified (does not run if preDelete or LDAP operations fail) @@ -7368,7 +7377,9 @@ OK (10 msec) manual - can be run manually on account page + Can be run manually on account page. If you add + LAMLABEL="text" before the command then LAM will use the text as + label for the button in account edit screen. diff --git a/lam/docs/manual-sources/images/customScripts.png b/lam/docs/manual-sources/images/customScripts.png index d500e841..85eb32ad 100644 Binary files a/lam/docs/manual-sources/images/customScripts.png and b/lam/docs/manual-sources/images/customScripts.png differ diff --git a/lam/docs/manual-sources/images/customScripts2.png b/lam/docs/manual-sources/images/customScripts2.png index c0f05423..90d262c1 100644 Binary files a/lam/docs/manual-sources/images/customScripts2.png and b/lam/docs/manual-sources/images/customScripts2.png differ diff --git a/lam/docs/manual-sources/images/customScripts3.png b/lam/docs/manual-sources/images/customScripts3.png new file mode 100644 index 00000000..a5dfa79c Binary files /dev/null and b/lam/docs/manual-sources/images/customScripts3.png differ