Updated General Script Examples (markdown)

Kasuyakema 2023-07-06 14:36:51 +02:00
parent 2bacc6256a
commit 58e6808038

@ -2,6 +2,9 @@ This wiki page is a repository of example scripts contributed by the community.
## updating document permissions based on the permissions of the documents 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.
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.
```python
#!/usr/bin/env python3