Add set_webapp_default_signature.py script

This commit is contained in:
Mark de Bruijn
2017-01-09 12:46:00 +01:00
parent def3c0edfa
commit 24ea4e0ccd
2 changed files with 106 additions and 0 deletions

View File

@@ -78,4 +78,26 @@ Original locale: nl_NL.UTF-8
Setting locale to: de_DE.UTF-8
```
# set_webapp_default_signature.py
Add and set a Default signature in Webapp for user(s), will overwrite any other default.
Please use a signature as dumped with dump_webapp_signatures.py
## Examples
### Set signature of a local user on the local server
```
./set_webapp_default_signature.py -u user1 -f user2-signature.sig
```
### Set signature multiple local users on the local server
```
./set_webapp_default_signature.py -u user1 -u user3 -f user2-signature.sig
```
### Set signature for all local users on the local server
```
./set_webapp_default_signature.py -a -f user2-signature.sig
```