Ashutosh_Enhancement#198_Added_IsSystem #39

Merged
vikas.nale merged 3 commits from Ashutosh_Enhancement#198_Added_IsSystem into Issues_May_2W 2025-05-08 10:22:15 +00:00
Collaborator

API Endpoint:

  1. api/employee/{id} (method: DELETE)
  2. api.roles/assign-roles (method:POST)
  3. api/roles/{id} (method:DELETE)
  4. api/roles/jobrole/{id} (method:DELETE)

Changes:

  1. Prevented suspension of employees where IsSystem = true.
  2. Restricted assigning or removing application roles for employees with IsSystem = true.
  3. Added API to delete an application role if IsSystem = false and the role is not assigned to any employee.
  4. Added API to delete a job role if it is not assigned to any employee.
**API Endpoint**: 1. api/employee/{id} (method: DELETE) 2. api.roles/assign-roles (method:POST) 3. api/roles/{id} (method:DELETE) 4. api/roles/jobrole/{id} (method:DELETE) **Changes**: 1. Prevented suspension of employees where IsSystem = true. 2. Restricted assigning or removing application roles for employees with IsSystem = true. 3. Added API to delete an application role if IsSystem = false and the role is not assigned to any employee. 4. Added API to delete a job role if it is not assigned to any employee.
ashutosh.nehete added 3 commits 2025-05-08 10:20:23 +00:00
vikas.nale merged commit 141d001673 into Issues_May_2W 2025-05-08 10:22:15 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/marco.pms.api#39
No description provided.