OPNSense/core d19ad59 — src/opnsense/mvc/app/controllers/OPNsense/Base ApiMutableModelControllerBase.php
MVC: on ApiMutableModelControllerBase add opt-in parameter $internalModelUseSafeDelete to check for referential integrity before delete, throwing a UserException when the uuid is found inside a tag which logically originates from a model. (has a uuid attribute and a version attribute in one of its parents) closes https://github.com/opnsense/core/issues/1897
Delta | File | |
---|---|---|
+64 | -0 | src/opnsense/mvc/app/controllers/OPNsense/Base/ApiMutableModelControllerBase.php |
+64 | -0 | 1 files |