From b45569eb85c4d6684cf1ba8460d6315ea86e0d3c Mon Sep 17 00:00:00 2001 From: Alex Stuart Date: Tue, 18 Apr 2023 10:24:10 +0100 Subject: [PATCH] Add support for IdPs asserting CoCo v2 entity category support See ukf/ukf-meta#359 for details --- mdx/_rules/check_coco_v2_support.xsl | 42 ++++++++++++++++++++++++++++ mdx/uk/check_uk_mdattr.xsl | 1 + mdx/validation-beans.xml | 20 +++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 mdx/_rules/check_coco_v2_support.xsl diff --git a/mdx/_rules/check_coco_v2_support.xsl b/mdx/_rules/check_coco_v2_support.xsl new file mode 100644 index 00000000..37f8531c --- /dev/null +++ b/mdx/_rules/check_coco_v2_support.xsl @@ -0,0 +1,42 @@ + + + + + + + + + + + REFEDS Data Protection Code of Conduct support only applies to identity provider entities + + + + diff --git a/mdx/uk/check_uk_mdattr.xsl b/mdx/uk/check_uk_mdattr.xsl index cd00198b..0184e9c7 100644 --- a/mdx/uk/check_uk_mdattr.xsl +++ b/mdx/uk/check_uk_mdattr.xsl @@ -98,6 +98,7 @@ /saml:AttributeValue [. != 'http://refeds.org/category/research-and-scholarship'] [. != 'http://www.geant.net/uri/dataprotection-code-of-conduct/v1'] + [. != 'https://refeds.org/category/code-of-conduct/v2'] "> diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 51ba8502..8078422d 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -289,6 +289,25 @@ + + + + + + + + + + + +