From 0443be9f3b6c44fe59551321f4254465bea02617 Mon Sep 17 00:00:00 2001 From: Nordine Bittich Date: Mon, 29 Mar 2021 11:52:26 +0200 Subject: [PATCH] add authorization types --- config/authorization/config.ex | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/config/authorization/config.ex b/config/authorization/config.ex index 19f632d..6254386 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -17,8 +17,19 @@ defmodule Acl.UserGroups.Config do graph: "http://mu.semte.ch/graphs/public", constraint: %ResourceConstraint{ resource_types: [ - # todo add classes - "http://purl.org/dc/elements/1.1/Agent", + "http://www.w3.org/2004/02/skos/core#Concept", + "http://www.w3.org/ns/org#Organization", + "http://www.w3.org/ns/org#Site", + "http://www.w3.org/ns/locn#Address", + "https://data.vlaanderen.be/ns/generiek#GestructureerdeIdentificator", + "http://data.vlaanderen.be/ns/besluit#Bestuursorgaan", + "http://www.w3.org/ns/person#Person", + "http://schema.org/ContactPoint", + "http://data.vlaanderen.be/ns/mandaat#Mandataris", + "https://data.vlaanderen.be/ns/organisatie#Oprichting", + "https://data.vlaanderen.be/ns/organisatie#Stopzetting", + "http://www.w3.org/ns/org#Post", + "http://www.w3.org/ns/org#Role" ] } } ] }, %GraphCleanup{