Hi Jorge! Have a look at RUM policy. Here is a demo: http://hg.python-rum.org/TgRumDemo/file/5f744fb4f973/tgrumdemo/policy.py#l1
The clue is, that several rules, you register via a nice interface can match the resource access. But only one of the registered predicates of these rules has to evaluate to True. I think, this corresponds to "I also have a different condition depending on the user.". This should be also very suited to building a CMS using this policy. Michael On 29 Mai, 06:09, Jorge Vargas <[email protected]> wrote: > Hello, > > it's probably the time but I'm a bit lost on how to get this to work > correctly. Should I make a custom predicate that check against the > SQL? I also have a different condition depending on the user. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

