Skip to content

feat(raids): planner follow-ups — admin-as-officer editing + Manage Raiders search/rank filter#161

Merged
VortexUK merged 1 commit into
mainfrom
feature/raid-planning-followups
Jul 11, 2026
Merged

feat(raids): planner follow-ups — admin-as-officer editing + Manage Raiders search/rank filter#161
VortexUK merged 1 commit into
mainfrom
feature/raid-planning-followups

Conversation

@VortexUK

Copy link
Copy Markdown
Owner

Follow-ups to #160, kept out of the rollout PR as requested:

  • Admin-as-officer: a site admin (ADMIN_DISCORD_IDS) who is also a member of the guild gets officer-grade edit rights on the planner (roles + placements), and the payload's is_officer flag reflects it so autosave enables. Admin without a claimed character in the guild still gets 403 — the planner belongs to the guild. Both paths tested.
  • Manage Raiders at scale: the roster payload now includes each member's guild rank/rank_id; the panel gets a rank dropdown (ordered by rank id) next to the search box, so finding characters in big guilds is a two-click affair.

26 raid-planning tests green (3 new), full gates clean.

🤖 Generated with Claude Code

…aiders search/rank filter

Two follow-ups to #160:

- A site admin who is ALSO a member of the guild can edit the raid plan
  like an officer (roles + placements). Admin alone is not enough — the
  planner belongs to the guild. The GET payload's is_officer flag
  reflects it so the UI enables autosave. Tests cover both the
  admin+member happy path and the admin-non-member 403.
- Manage Raiders scales to large guilds: the roster payload now carries
  each member's guild rank (name + id), and the panel gains a rank
  dropdown (ordered by rank id) alongside the renamed search box.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VortexUK
VortexUK merged commit 09d096c into main Jul 11, 2026
6 checks passed
@VortexUK
VortexUK deleted the feature/raid-planning-followups branch July 11, 2026 17:19
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.

1 participant