'Returns the list of group types.'

@wsgi.Controller.api_version('3.11')
def index(self, req):

    limited_types = self._get_group_types(req)
    req.cache_resource(limited_types, name='group_types')
    return self._view_builder.index(req, limited_types)
