Hello,
I just want to separate some distribution role. When a user (without publishing rights) create an event, I've force him to publish its event for his organization only (uncomment line 178 on app/Model/Event.php and modify array to have only "0" case choice). That is Ok.
Now I should have a different view on the side_menu . When a admin role is connected he could change distribution parameter with the Edit Event side menu, but when a single user update its own events, i don't want have the capabilitie to change these distribution parameter.
I have cloned the edit function in the EventsController.php but i have always both menu entries (edit event / edit User event) Could have some help to fix this "problem"
I'm not a Cake expert ...
Thx