Skip to content

Review assignment toggle 2 real#55

Open
NoelVarghese2006 wants to merge 7 commits intomainfrom
review_assignment_toggle_2_real
Open

Review assignment toggle 2 real#55
NoelVarghese2006 wants to merge 7 commits intomainfrom
review_assignment_toggle_2_real

Conversation

@NoelVarghese2006
Copy link
Collaborator

feat(api): update review assignment toggle endpoints to manage all admins

  • Add GetByRole method to UsersStore to fetch users by their role.
  • Add GetAllReviewAssignmentToggles method to SettingsStore to retrieve the full list of toggle settings.
  • Update GET /superadmin/settings/review-assignment-toggle to return a list of all super admins and their enabled status (defaulting to true if not explicitly set).
  • Update POST /superadmin/settings/review-assignment-toggle to accept a user_id in the payload, allowing super admins to toggle review assignment for specific users instead of just themselves.

feat(superadmin): add user management page for review toggles

This commit introduces a new "User Management" page accessible to super admins.

This page displays a table of all administrators and provides a toggle switch for each user. This switch controls whether an admin is eligible to receive new application reviews from the automatic assignment system.

This gives super admins granular control over the pool of active reviewers, allowing them to easily manage reviewer availability without having to remove them from the system.

image

…mins

- Add `GetByRole` method to `UsersStore` to fetch users by their role.
- Add `GetAllReviewAssignmentToggles` method to `SettingsStore` to retrieve the full list of toggle settings.
- Update `GET /superadmin/settings/review-assignment-toggle` to return a list of all super admins and their enabled status (defaulting to true if not explicitly set).
- Update `POST /superadmin/settings/review-assignment-toggle` to accept a `user_id` in the payload, allowing super admins to toggle review assignment for specific users instead of just themselves.
feat(api): update review assignment toggle endpoints to manage all ad…
This commit introduces a new "User Management" page accessible to super admins.

This page displays a table of all administrators and provides a toggle switch for each user. This switch controls whether an admin is eligible to receive new application reviews from the automatic assignment system.

This gives super admins granular control over the pool of active reviewers, allowing them to easily manage reviewer availability without having to remove them from the system.
@NoelVarghese2006 NoelVarghese2006 linked an issue Mar 7, 2026 that may be closed by this pull request
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.

Super admin review toggle management view

1 participant