This is what I'm trying to accomplish:
http://members.bluegoosenews.com/games/blog/cat/social_game_sites
I think I managed to find the relevant code:
# this code is a quite complete copy/paste from turbogears 1 identity
class Predicate(object):
"""Generic base class for testing true or false for a condition.
"""
def eval_with_object(self, obj, errors=None):
"""Determine whether the predicate is True or False for the
given object.
"""
raise NotImplementedError
Does this mean that what I'm looking for in terms of being able to
apply a given permission to a subset of data on the site is
incomplete?
Are there any Docs on writing for this module? If so, I'd like to take
a closer look.
Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---