From 3cc305982a19e152b211562b5b53452e9af4e375 Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Feb 2024 13:15:01 +0100 Subject: [PATCH] fix: removed write access to shared graph This access was required to edit the (legal) name of municipalities and provinces. This did lead to an issue were data for administrative units was incorrectly written to both graphs. To avoid this we decided that, at least for the moment, the name of municipalities and provinces is not editable, removing the need to be able to write to the shared graph. --- config/authorization/config.ex | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/config/authorization/config.ex b/config/authorization/config.ex index c45404e..12f824e 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -128,12 +128,6 @@ defmodule Acl.UserGroups.Config do constraint: %ResourceConstraint{ resource_types: @org_type ++ @error_type } - }, - %GraphSpec{ - graph: "http://mu.semte.ch/graphs/shared", - constraint: %ResourceConstraint{ - resource_types: @org_type ++ @error_type - } } ] }, @@ -147,12 +141,6 @@ defmodule Acl.UserGroups.Config do constraint: %ResourceConstraint{ resource_types: @org_type ++ @error_type } - }, - %GraphSpec{ - graph: "http://mu.semte.ch/graphs/shared", - constraint: %ResourceConstraint{ - resource_types: @org_type ++ @error_type - } } ] },