You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Container Administrator, a model can be Deleted Permanently within a container by using the 'Delete permanently' option from within the main Data Model details page of the UI. However, when trying to permanently delete the same model by using the context menu inside the model tree in the left hand pane, a warning appears and the model is not deleted:
Only administrators may permanently delete catalogue items.
Steps to reproduce
Create a folder and a data model within it when logged in as a Container Administrator, then try to permanently delete the model from within the model tree.
Expected behavior
The permanent deletion should be allowed from both the model tree and the model details page.
Environment
Desktop
Please complete the following information:
OS: macOS
Browser: Chrome 103
Additional context
Latest develop of mdm-core, mdm-ui and mdm-resources.
The text was updated successfully, but these errors were encountered:
Container admins could delete a model from the detail view but not the model tree. Changed to inspect the availableActions on the model in question instead of hardcoding an administrator check
Description
As a Container Administrator, a model can be Deleted Permanently within a container by using the 'Delete permanently' option from within the main Data Model details page of the UI. However, when trying to permanently delete the same model by using the context menu inside the model tree in the left hand pane, a warning appears and the model is not deleted:
Steps to reproduce
Create a folder and a data model within it when logged in as a Container Administrator, then try to permanently delete the model from within the model tree.
Expected behavior
The permanent deletion should be allowed from both the model tree and the model details page.
Environment
Desktop
Please complete the following information:
Additional context
Latest develop of mdm-core, mdm-ui and mdm-resources.
The text was updated successfully, but these errors were encountered: