I have created a custom module which implements the hook_menu_alter in order to override those two paths and to add my own access control logic:
Looking for an out of the box solution I found this module vppr which overrides the exact same paths adding its own logic.
The point is that if I have both modules enabled - vppr module and my custom module - the
['access callback'] from my custom module is never fired. If I disable the vppr module my module is working fine.
Is that possible, two different modules can't override the same path or I'm missing something, and why the
['access callback'] from the contrid module is executed over mine?