Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix global mod check #1452

Merged
merged 2 commits into from
Nov 19, 2024
Merged

fix global mod check #1452

merged 2 commits into from
Nov 19, 2024

Conversation

cellio
Copy link
Member

@cellio cellio commented Nov 17, 2024

Fixes #1451.

@cellio cellio requested a review from Oaphi November 17, 2024 20:38
Copy link
Member

@Oaphi Oaphi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - we should probably change is_moderator method on the user model to accept a community user as a parameter to be able to check generically (DRY), but that's outside the scope of this PR and would require a bunch of carefully tested updates throughout the codebase (just something to keep in mind).

@Oaphi Oaphi merged commit 4b6626b into develop Nov 19, 2024
7 checks passed
@Oaphi Oaphi deleted the cellio/1451-fix-global-mod-check branch November 19, 2024 13:29
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.

"All communities" does not show correct moderator status for global mods/admins
2 participants