Skip to content

v3.0.0

Choose a tag to compare

@Bourbxn Bourbxn released this 31 Jan 13:38
b16fb51

Version 3.0.0

January 31, 2025

✨ New Features

  • Implement role-based protected routes and components for roles: TA, Supervisor, Executive, and Beyonder.

    • Create the role_permissions table and update the departments and user tables. (APP-0114๗
    • Add the executives table and include the executive role in staff options. (APP-0127).
    • Develop a permission-checking function, apply it to all endpoints, and create a role permission API. (APP-0115).
  • Implement DELETE /api/supervisor/admin/{admin_id} to allow admin deletion. (APP-0125).

  • Introduce GET /api/supervisor/average_group_score/{group_id} to support the Dashboard Feature in a future release. (APP-0130)

  • Add GET /api/common/supervisor to provide supervisor options in the super frontend's group creation form. (APP-0132)

🔧 Improvements

  • Prevent inactive admins from performing any actions and fix backend crashes caused by invalid user logins. (APP-0128)
  • Update GET /api/common/staffs and GET /api/supervisor/available_groups by adding a role response field and renaming supervisor_id. (APP-0126).
  • Add the role field to GET /api/supervisor/role_permission to support role validation in the super frontend. (APP-0129).
  • Modify POST /api/supervisor/group to allow group creation by roles other than Supervisor. (APP-0131, APP-0133).
  • Update GET/PUT /api/supervisor/my_group_info to enable roles other than Supervisor to update groups. (APP-0134).