Ealanisln / ready-set

On-demand courier that specializes in delivery for all your needs. We are Food Safety, and HIPPA Certified. Our team can meet all your Bay Area delivery needs.
https://readysetllc.com
MIT License
0 stars 0 forks source link

New feat request: Add button to allow super_admin delete orders/users. #9

Closed Ealanisln closed 1 month ago

Ealanisln commented 1 month ago

Description: It would be helpful to implement a feature that allows users with the super_admin role to delete orders and users directly from the admin interface. This would enhance admin control and improve the overall user management process.

Requirements:

Add a delete button for orders and users visible only to users with super_admin privileges. Ensure appropriate safeguards and confirmation dialogs are in place to avoid accidental deletions. Update the backend to handle deletion requests securely, ensuring data consistency and proper error handling. Use Case: This feature would be useful for managing problematic orders or removing users who violate terms, streamlining the process for super admins.

Ealanisln commented 1 month ago

Order Deletion API Implementation

Overview

Implemented a new API endpoint for deleting orders (both catering and on-demand) with associated data.

Key Features

API Details

Implementation Notes

To-Do