I have a problem when applying the 'Delegate 'Admin tools' menus' documentation.
Paragraph:
WebPageMenuNode need to be secured against direct access (a user may guess the url of a webPage and try to access it even if he do not see the menu). To do so, each web page is checking against ApplicationMenu::CheckMenuIdEnabled(“MenuId”); with MenuIdbeeing the id used in the xml definition of the menu. This ensure that in order to be able to execute a webpage the user must have access to the corresponding menu.
In which it mentions in this paragraph that we can add more security by preventing the profile from being able to access that menu from the link.
However, I don't know how to apply it within the code, so I ask for your collaboration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I have a problem when applying the 'Delegate 'Admin tools' menus' documentation.
Paragraph:
WebPageMenuNode need to be secured against direct access (a user may guess the url of a webPage and try to access it even if he do not see the menu). To do so, each web page is checking against ApplicationMenu::CheckMenuIdEnabled(“MenuId”); with MenuIdbeeing the id used in the xml definition of the menu. This ensure that in order to be able to execute a webpage the user must have access to the corresponding menu.
In which it mentions in this paragraph that we can add more security by preventing the profile from being able to access that menu from the link.
However, I don't know how to apply it within the code, so I ask for your collaboration.