Use group (minimal GUI) defaults similarly to the user template
authorPlamen Dimitrov <plamen.dimitrov@intra2net.com>
Sat, 9 Apr 2022 05:06:08 +0000 (08:06 +0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 19 May 2022 09:13:27 +0000 (11:13 +0200)
commitb358e4cb3854707d95ad4ddccf62009f527842c0
tree11e85e9cec8911c592d9976db4f31b89c5012214
parent188605ae81c6d06bb1a33e911b1d75c8f316de2d
Use group (minimal GUI) defaults similarly to the user template

This provides a complete user-group combination for testing of
the template concept before migrating more templates code.

Note that the UI-defaults for group child cnfvars are not the same
as the ones provided in the build_group module which seem to be
too few and the minimal needed for the configuration to be accepted.

When creating an empty GROUP in the UI, these fields are populated:

    1 GROUP,104: "ganz neu"
    2    (1) GROUP_ACCESS_GO_ONLINE_ALLOWED,0: "1"
    3    (1) GROUP_COMMENT,0: ""
    4    (1) GROUP_EMAILFILTER_BAN_FILTERLIST_REF,0: "-1"
    5    (1) GROUP_EMAIL_RELAY_RIGHTS,0: "RELAY_FROM_INTRANET"
    6    (1) GROUP_PROXY_PROFILE_REF,0: "1"

So there is a tad more than just "GROUP_COMMENT" and following the
UI these additional fields should be added and similarly populated.
src/cnfvar/templates.py