def authenticate(self, provider=None, identifier=None):
        provider_q = Q(provider__name=provider)
        if isinstance(provider, Provider):
            provider_q = Q(provider=provider)
        try:
            access = AccountAccess.objects.filter(
                provider_q, identifier=identifier
            ).select_related('user')[0]
        except IndexError:
            return None
        else:
            return access.user
Get the 'can_use_aggregate' permission.
dataset/ETHPy150Open mlavin/django-all-access/allaccess/backends.py/AuthorizedServiceBackend.authenticate--crossover with--dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient/clearinghouse/aggregate/views.py/get_can_use_permission