[Cubicweb] How to add an option in the user preferences?

Sandrine Ribeau sandrine.ribeau at logilab.fr
Mon Jun 1 19:06:24 CEST 2009


Hi,

I am trying to add an option in the user preferences that would be visible 
only to users belonging to specific groups, such as 'managers' for example.
I found a function called "register_persistent_options" but I do not find a way 
to explicit the group the user needs to belong to. I can see the option I add 
but for all type of users.
That leads me to think that 'register_persistent_options' might not be the 
appropriate choice.

Thanks for your help,
Sandrine.



More information about the Cubicweb mailing list