Simon-Initiative / oli-torus

Next Generation OLI Authoring and Delivery Platform
https://proton.oli.cmu.edu
MIT License
83 stars 35 forks source link

[FEATURE] [MER-3079] Block admin delete a resource referenced by other resource(s) #4969

Closed Francisco-Castro closed 1 month ago

Francisco-Castro commented 1 month ago

Ticket: MER-3079

This PR add the feature of blocking an admin from deleting a page that is referenced by another page.

There are two places from where an admin can delete pages: "curriculum" and "all pages". Both has been considered.

https://github.com/user-attachments/assets/5a88fcea-0be8-4b5f-9edf-381a26c59b74