Skip to content

Add bulk user editing for Clark admins - #2183

Merged
adarshm11 merged 2 commits into
devfrom
feat/bulk-user-update
Aug 24, 2026
Merged

Add bulk user editing for Clark admins#2183
adarshm11 merged 2 commits into
devfrom
feat/bulk-user-update

Conversation

@adarshm11

@adarshm11 adarshm11 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Motivation

Every semester, officers change. The default behavior of officer accounts on Clark is that they never expire, so every semester their accounts must be updated by the president. This is a one-by-one editing process.

Implementation

This PR accomplishes two tasks:

  • Adding customizable pagination to the user manager. This allows the admin to see 10, 20, 50, or all users.
  • Bulk user edits. The admin can now select multiple users and update all of their membership statuses. This action is gated behind the confirmation modal to avoid mistakes in updates. This was implemented via a new /bulkEdit endpoint that is more efficient than repeatedly calling /edit.

Testing

Unit tests were added to verify the modified functionality of user profiles.

@c1ndytat c1ndytat left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

lgtm

@trista-chen-29 trista-chen-29 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Lgtm

@adarshm11
adarshm11 merged commit afab77d into dev Aug 24, 2026
4 checks passed
@adarshm11
adarshm11 deleted the feat/bulk-user-update branch August 24, 2026 23:32
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.

3 participants