Hi,

In many cases the User, Group and (binary) Permission structure of the
identity module is great for my purposes. I do however have a need for
non-binary permission. For example I would like to allow my users to
only be allowed to input x > [some user dependent float] into my
controller methods. Other users will have other limits. I am not sure
how to solve this problem (my experience with permissions is very
limited). Do you have any suggestions?

I could of course add some attributes to the User class (xmin in the
above example) but that would kind of defeat the purpose of having the
User, Group, Permission structure. Another option would be to modify
the Permission class (or make a similar class) but I am not sure how I
should do that. Any pointers?

Regards,
Jesper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to