ability to remove relationship if role has delete disabled

If you have your roles set up so that users can not delete records then they will also not be able to remove relationships between two records.

changing the following will allow this.

within the meta data of the sub panel in question.

custom/modules//metadata/subpanels/.php

you are looking for the following

 

and you want to change the variable of remove_button to close_button and save, repair and rebuild and you should now be able to remove the relationships but not the records.