cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amelie Cordier <acord...@insa-rouen.fr>
Subject Managing users' permissions through the sitemap
Date Mon, 31 Mar 2003 20:35:34 GMT
Hi everybody,

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 message

I 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






Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message