Hello,

I have to implement group scpecific forms and I wanted to ask around what the best
way to do this. The basic idea is: We have a form, and only a specific group of
read/write a subset of the values. Take a user form as example, only
the mailadmin may edit the mailhost and address values, the dialup
admin may edit the dialup access values, other user can only read the
users name and the user himself can see al values, but may edit only
his password.

The optimal way would be for a dynaactionform, to configure for every
single property the access rights. read means, it will be displayed as
"disabled", write is normal, none no display at all. I want to check
the users' group memberships in a database and display the appropriate
form for him. Has anyone done this before? Is there a
comfortable/efficant way to do this? Somesort of subclassing
DynaActionForm and use the struts-config.xml to configure the access
rights and required group memberships...

Regards,
Arne Brutschy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to