0001-auth_saml-user-default-user-s-queryset-51454.patch
src/authentic2_auth_saml/adapters.py | ||
---|---|---|
28 | 28 |
from mellon.utils import get_setting |
29 | 29 | |
30 | 30 |
from authentic2 import utils |
31 |
from authentic2.backends import get_user_queryset |
|
31 | 32 |
from authentic2.utils.evaluate import evaluate_condition |
32 | 33 |
from authentic2.a2_rbac.models import Role, OrganizationalUnit as OU |
33 | 34 |
from authentic2.a2_rbac.utils import get_default_ou |
... | ... | |
276 | 277 | |
277 | 278 |
def auth_login(self, request, user): |
278 | 279 |
utils.login(request, user, 'saml') |
280 | ||
281 |
def get_users_queryset(self, idp, saml_attributes): |
|
282 |
return get_user_queryset() |
|
279 |
- |