Don't quite understand the following function, as described "The
groupfinder defined here is an authorization policy “callback”; can't
see it is called by which function. And it doesn't matter if I remove
the function from the code.

def groupfinder(userid, request):
    if userid in USERS:
        return GROUPS.get(userid, [])
Repoze-dev mailing list

Reply via email to