in our current Magnolia project we need to restrict the permission to delete an existing paragraph.
Users with a special role shall be allowed to edit an existing paragraph, but not to delete it.
In Magnolia versions prior to 4.5 it was possible to simply hide the "Delete" button by specifying an empty "deleteLabel" property in the <cms:editBar> depending on the current user role.
Looking into the source code of the new <cms:component> tag, we could not find a similar approach to restrict the appearance or the functionality of the "Delete" button.
Any hint would be helpful!