From 2f804c8c878168b7f79be04e877d8a822ddcb5bb Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Wed, 7 Dec 2022 14:46:13 +0100 Subject: clarify that order is important for all ECs --- src/saml2/entity_category/swamid.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/saml2/entity_category/swamid.py b/src/saml2/entity_category/swamid.py index ecbd01c5..1d4085e4 100644 --- a/src/saml2/entity_category/swamid.py +++ b/src/saml2/entity_category/swamid.py @@ -100,6 +100,8 @@ NREN = "http://www.swamid.se/category/nren-service" # Deprecated from 2021-03-3 HEI = "http://www.swamid.se/category/hei-service" # Deprecated from 2021-03-31 RELEASE = { + # NOTICE: order is important + # no aggregation categories needs to come last and in order of least to most restrictive "": [], SFS_1993_1153: ["norEduPersonNIN", "eduPersonAssurance"], (RESEARCH_AND_EDUCATION, EU): NAME + STATIC_ORG_INFO + OTHER, @@ -111,7 +113,7 @@ RELEASE = { ESI: MYACADEMICID_ESI, (ESI, COCOv1): MYACADEMICID_ESI + GEANT_COCO, (ESI, COCOv2): MYACADEMICID_ESI + REFEDS_COCO, - # order is important for no aggregation categories as the last one wins if more than one is found + # no aggregation categories PERSONALIZED: REFEDS_PERSONALIZED_ACCESS, PSEUDONYMOUS: REFEDS_PSEUDONYMOUS_ACCESS, ANONYMOUS: REFEDS_ANONYMOUS_ACCESS, -- cgit v1.2.1