'Main entry point from router for list role assignments.
Since we want different policy file rules to be applicable based on
whether there the include_subtree query parameter is part of the API
call, this method checks for this and then calls the appropriate
protected entry point.'

def list_role_assignments_wrapper(self, request):

    params = request.params
    if (('include_subtree' in params) and self.query_filter_is_true(params['include_subtree'])):
        return self.list_role_assignments_for_tree(request)
    else:
        return self.list_role_assignments(request)
