Updated General Script Examples (markdown)

Kasuyakema 2023-07-06 14:37:26 +02:00
parent 58e6808038
commit 7a2440d06e

@ -1,6 +1,6 @@
This wiki page is a repository of example scripts contributed by the community. As always, you should exercise caution when using a script and make sure you understand the code before using a script from the internet. This wiki page is a repository of example scripts contributed by the community. As always, you should exercise caution when using a script and make sure you understand the code before using a script from the internet.
## updating document permissions based on the permissions of the documents storage path ## updating document permissions based on storage path
Our usecase is to interpret the storage path as a clients file and only give view permissions to employees that handle this client. Our usecase is to interpret the storage path as a clients file and only give view permissions to employees that handle this client.
This script could be used as a post-processing script if you are confident that the storage path is allways set correctly and not changed later. We just run it at regular intervals. This script could be used as a post-processing script if you are confident that the storage path is allways set correctly and not changed later. We just run it at regular intervals.