Hello,
I Have two entities, A and B. Entity A has a status field, and it has multiple related B records.
I'd like to implement a restriction where, if the status of entity A is set to "Closed", users should not be able to relate or unrelate any B records to A.
The hook for relate and unrelate are just after not before
I Have two entities, A and B. Entity A has a status field, and it has multiple related B records.
I'd like to implement a restriction where, if the status of entity A is set to "Closed", users should not be able to relate or unrelate any B records to A.
The hook for relate and unrelate are just after not before
Comment