I have a problem, maybe simple, but I don't know how to deal with. I'm sure some of you have enough skills an experience to help me :)
In my database, I've got a table managing the users' permissions.
There's a global menu (for all the users).
To know if an user is allowed to open a link from this menu, I need the
user identifier (given by a session attribute) and an other identifier
(like a request parameter which comes along with the link for example)
Then, I want to check in my DB and :
- if it's ok, open the link
- if not, diplay an error messageI guess I need to manage this on the sitemap level but I don't know what to use.
Currently, I'm using an Authentication action which allows an logged user to access to the whole site but, as you can see, I want to be more restrictive for some sections of the site.
Any idea would be welcome, thx in advance !
Amelie
