From af6ecb2864998b224230c31cfbdbd43c1f53483c Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 21 Jan 2022 14:16:01 -0500 Subject: [PATCH] Add "Admin" to UCS group regex --- memberPlumbing/ucsAccounts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/memberPlumbing/ucsAccounts.py b/memberPlumbing/ucsAccounts.py index 9d02d97..782bacd 100755 --- a/memberPlumbing/ucsAccounts.py +++ b/memberPlumbing/ucsAccounts.py @@ -11,7 +11,9 @@ from .config import Config USER_BASE = "cn=users,dc=sawtooth,dc=claremontmakerspace,dc=org" GROUP_BASE = "cn=groups,dc=sawtooth,dc=claremontmakerspace,dc=org" -GROUPS_REGEX = "|".join(["Certified: .*", "Access .*\?", "CMS .*", "Volunteer: .*"]) +GROUPS_REGEX = "|".join( + ["Certified: .*", "Access .*\?", "CMS .*", "Volunteer: .*", "Admin"] +) RAND_PW_LEN = 20