adjust groups and users startup scripts to allow custom codename filter

This commit is contained in:
Les Begnaud 2019-12-05 09:41:11 -06:00
parent c083baf640
commit b744c4eef9
4 changed files with 52 additions and 21 deletions

View file

@ -7,10 +7,16 @@
# writers:
# users:
# - writer
## specify explicit permission codenames or codename filter functions and filters to match on
# permissions:
# - add_device
# - change_device
# - delete_device
# - add_virtualmachine
# - change_virtualmachine
# - delete_virtualmachine
# - codename__startswith:
# - add_
# - change_
# vm_managers:
# - codename__endswith:
# - _virtualmachine
# creators:
# - codename__startswith:
# - add_