Skip to content

Move auth config helpers to AuthenticationConfiguration class#4340

Merged
svartkanin merged 1 commit intoarchlinux:masterfrom
dylanmtaylor:refactor-auth-config-helpers
Mar 31, 2026
Merged

Move auth config helpers to AuthenticationConfiguration class#4340
svartkanin merged 1 commit intoarchlinux:masterfrom
dylanmtaylor:refactor-auth-config-helpers

Conversation

@dylanmtaylor
Copy link
Copy Markdown
Contributor

Follow-up to #4331 per review feedback from @svartkanin.

Moves has_superuser() and has_regular_user() from local function definitions inside GlobalMenu._missing_configs() to proper methods on AuthenticationConfiguration. This keeps the auth-related logic with the auth config class where it belongs.

@dylanmtaylor dylanmtaylor requested a review from Torxed as a code owner March 30, 2026 23:57
@svartkanin
Copy link
Copy Markdown
Collaborator

Thanks for the quick change, much appreciated

@svartkanin svartkanin merged commit ef4d7cf into archlinux:master Mar 31, 2026
9 checks passed
@dylanmtaylor
Copy link
Copy Markdown
Contributor Author

It was a trivial move, figured I'd do it before I forget

@dylanmtaylor dylanmtaylor deleted the refactor-auth-config-helpers branch March 31, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants