Summary
No endpoint currently exists to retrieve users filtered by institutional role (e.g., list all chairpersons, list all deans, or list users managed under a specific role holder).
The UserInstitutionalRole entity stores these mappings, but the admin module only exposes POST and DELETE — there is no read endpoint.
Proposed
Add a GET /admin/institutional-roles (or similar) endpoint that allows:
- Super admins to list all institutional role assignments
- Deans to list chairpersons under their scope
- Optional filtering by role type (
DEAN, CHAIRPERSON)
Related
UserInstitutionalRole entity
AdminService (existing assign/remove methods)
ScopeResolverService (for role-scoped filtering)
Summary
No endpoint currently exists to retrieve users filtered by institutional role (e.g., list all chairpersons, list all deans, or list users managed under a specific role holder).
The
UserInstitutionalRoleentity stores these mappings, but the admin module only exposesPOSTandDELETE— there is no read endpoint.Proposed
Add a
GET /admin/institutional-roles(or similar) endpoint that allows:DEAN,CHAIRPERSON)Related
UserInstitutionalRoleentityAdminService(existing assign/remove methods)ScopeResolverService(for role-scoped filtering)