Disable Add relationship

Hi all, I should disable the ability to create a new relationship when an Item is in a certain state. For example: I have an Item Document with an relation to Item File. When the user create a new document (state document = New)  he can create a new relationship with an Item File. If the Document is promoted to another state (Check) the user can only modified the property of Document but he can't modify a relationship (add, remove, edit). I found more example to hide a Tab Relationship, but i want to show this tab in Readonly mode.   Thanks
Parents Reply Children
No Data