def _authentication_required(*args, **kwargs):
    return f(*args, **kwargs)
return _authentication_required

def authentication_required(*allowed_groups):

    def _authentication_required(f):
        pass
Writing a CherryPy Decorator for Authorization