Skip to content

DEV: Remove now-redundant is_staff guardian check #33852

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Drenmi
Copy link
Contributor

@Drenmi Drenmi commented Jul 25, 2025

What is this change?

The edit_all_post_groups used to have TL4 as the default setting. This update:

  1. Adds in admins and moderators as well as makes those mandatory values.
  2. Gets rid of now-redundant is_staff? check.
  3. Makes use of the magic #edit_all_post_groups_map method.

Test coverage is here:

@Drenmi Drenmi requested a review from martin-brennan July 25, 2025 05:52
@Drenmi Drenmi force-pushed the dev/remove-redundant-staff-check-6 branch 2 times, most recently from 487ff78 to cbe2f77 Compare July 30, 2025 07:53
@Drenmi Drenmi force-pushed the dev/remove-redundant-staff-check-6 branch from cbe2f77 to a9eedfe Compare July 30, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants