Introduce access control based on the users/groups and the testcase.
Groups need to be defined in LDAP.
New configuration is required to enable this feature:
- PERMISSION_MAPPING: dictionary with keys regex applied to testcases
and as values dictionaries with "users" and "groups" allowed to
submit waivers for that matching testcase.
If not specified, the feature is not enabled.
- LDAP_HOST and LDAP_BASE: required to query the LDAP system.
If PERMISSION_MAPPING is specified, but these are not, it throws an
error.
Introduce access control based on the users/groups and the testcase.
Groups need to be defined in LDAP.
New configuration is required to enable this feature:
- PERMISSION_MAPPING: dictionary with keys regex applied to testcases
and as values dictionaries with "users" and "groups" allowed to
submit waivers for that matching testcase.
If not specified, the feature is not enabled.
- LDAP_HOST and LDAP_BASE: required to query the LDAP system.
If PERMISSION_MAPPING is specified, but these are not, it throws an
error.