Create backend API to support retrieving task details and OOO (out-of-office) requests for super users. Implement functionality to allow approval and rejection of OOO requests.
Expected Behavior
APIs should provide task and OOO request details for super users' needs.
APIs should support approval/rejection actions for OOO requests.
APIs should ensure secure, efficient access for super users.
Current Behavior
No dedicated API endpoint exists to fetch task details and OOO requests in a single, structured format for calendar display.
There is no process to approve or reject OOO requests.
Screenshots
Reproducibility
[ ] This issue is reproducible
[x] This issue is not reproducible
Steps to Reproduce
Severity/Priority
[ ] Critical
[ ] High
[x] Medium
[ ] Low
Additional Information
Data Retrieval: Provide endpoints that return task details and OOO requests for a specified date or date range, formatted for easy calendar integration.
Approval/ Rejection Endpoint: An endpoint that allows super users to approve or reject OOO requests directly, updating the status of the request in real-time.
Access Control: Ensure these APIs are accessible only to authenticated super users, with appropriate permissions and security checks in place.
Performance Optimization: Structure data to minimize API calls, ideally aggregating data in a single call for efficient calendar display
Checklist
[x] I have read and followed the project's code of conduct.
[x] I have searched for similar issues before creating this one.
[x] I have provided all the necessary information to understand and reproduce the issue.
[x] I am willing to contribute to the resolution of this issue.
Issue Description
Create backend API to support retrieving task details and OOO (out-of-office) requests for super users. Implement functionality to allow approval and rejection of OOO requests.
Expected Behavior
Current Behavior
Screenshots
Reproducibility
Steps to Reproduce
Severity/Priority
Additional Information
Checklist