ui rehaul

This commit is contained in:
Ludwig Lehnert
2026-10-03 09:44:29 +00:00
parent a47542f156
commit 3075d951ba
17 changed files with 428 additions and 102 deletions
+11
View File
@@ -0,0 +1,11 @@
"""Account names excluded from human user administration."""
def account_name(user: str) -> str:
account = user.strip().rsplit("\\", 1)[-1]
return account.split("@", 1)[0]
def is_excluded_user(user: str) -> bool:
account = account_name(user).casefold()
return account == "krbtgt" or account.startswith("msol_")