I've created an Entity, which has a many-to-one relation with another entity.
On the bottom panel layout I have put the list of the related entities.
When i revoke the edit right for the main entity i can still create an entity in the list on the bottom panel.
How can i prevent this?
I've already tried to create a custom checkEntityCreate function for the child entity. However i can't check for the parent entity in there, because the id, for the child entity, does not exist yet.
I can prevent the deletion and the edit rights for the child entities, for the exact same reason. I have access to the child id and therefore can check the related entity.
On the bottom panel layout I have put the list of the related entities.
When i revoke the edit right for the main entity i can still create an entity in the list on the bottom panel.
How can i prevent this?
I've already tried to create a custom checkEntityCreate function for the child entity. However i can't check for the parent entity in there, because the id, for the child entity, does not exist yet.
I can prevent the deletion and the edit rights for the child entities, for the exact same reason. I have access to the child id and therefore can check the related entity.
Comment