summaryrefslogtreecommitdiffstats
path: root/idp/extra/modules/saml2.py
diff options
context:
space:
mode:
Diffstat (limited to 'idp/extra/modules/saml2.py')
-rw-r--r--idp/extra/modules/saml2.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/idp/extra/modules/saml2.py b/idp/extra/modules/saml2.py
index c86fd6c..f6f0089 100644
--- a/idp/extra/modules/saml2.py
+++ b/idp/extra/modules/saml2.py
@@ -15,6 +15,8 @@ def check_access_authorizations(provider_key):
return False
user = get_session().get_user_object()
+ if user.is_admin():
+ return True
collectivity = user.get_collectivity()
service_instances = directory.get_service_instances(collectivity)