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

[CORL-3219]: Users with staff roles don't get repeat post check #4738

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

kabeaty
Copy link
Contributor

@kabeaty kabeaty commented Feb 11, 2025

What does this PR do?

These changes make it so that users with a role of staff, moderator, or admin do not go through the repeat post check.

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

none

Does this PR introduce any new environment variables or feature flags?

no

If any indexes were added, were they added to INDEXES.md?

n/a

How do I test this PR?

You can test this PR by commenting the same thing twice in a row as a user with a role of user and seeing that you are shown the repeat post nudge.

Then comment the same thing twice in a row as a user with a role of staff, moderator, or admin. You should not see the nudge, and your comment should just go through and post with the appropriate badges.

Were any tests migrated to React Testing Library?

no

How do we deploy this PR?

Copy link

netlify bot commented Feb 11, 2025

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit 12852a9
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/67ab603276d7d600086dac8a

@kabeaty kabeaty requested review from tessalt and nick-funk February 11, 2025 14:36
@tessalt tessalt merged commit a48aff7 into develop Feb 11, 2025
6 checks passed
@tessalt tessalt deleted the fix/CORL-3219-staff-post-repeat-comments branch February 11, 2025 21:37
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