PitchforkAssistant / PitchforkAssistant/devvit-helpers

Should isModerator return false for AutoModerator?

Open
#31 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
TypeScript
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

This is technically correct, as AutoModerator isn't on mod teams by default, but functionally it should be treated as a moderator account in most apps.

Should isModerator explicitly check for AutoModerator and return true even if it technically isn't on the list?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the isModerator implementation and checking how AutoModerator is represented in the available account or moderation data. The work is done when isModerator consistently returns true for AutoModerator and the existing behavior is covered by an appropriate test, if tests for this helper are present.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
authorization
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.