Skip to content

Commit 2f804c8

Browse files
johanlundbergc00kiemon5ter
authored andcommitted
clarify that order is important for all ECs
1 parent d7f2adf commit 2f804c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/saml2/entity_category/swamid.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100
HEI = "http://www.swamid.se/category/hei-service" # Deprecated from 2021-03-31
101101

102102
RELEASE = {
103+
# NOTICE: order is important
104+
# no aggregation categories needs to come last and in order of least to most restrictive
103105
"": [],
104106
SFS_1993_1153: ["norEduPersonNIN", "eduPersonAssurance"],
105107
(RESEARCH_AND_EDUCATION, EU): NAME + STATIC_ORG_INFO + OTHER,
@@ -111,7 +113,7 @@
111113
ESI: MYACADEMICID_ESI,
112114
(ESI, COCOv1): MYACADEMICID_ESI + GEANT_COCO,
113115
(ESI, COCOv2): MYACADEMICID_ESI + REFEDS_COCO,
114-
# order is important for no aggregation categories as the last one wins if more than one is found
116+
# no aggregation categories
115117
PERSONALIZED: REFEDS_PERSONALIZED_ACCESS,
116118
PSEUDONYMOUS: REFEDS_PSEUDONYMOUS_ACCESS,
117119
ANONYMOUS: REFEDS_ANONYMOUS_ACCESS,

0 commit comments

Comments
 (0)