From ead102d8c6bb471891399f903963bcf1c096c427 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 28 Feb 2024 10:15:25 +0100 Subject: [PATCH] feat: Allow editor role to write to shared graph The shared graph contains, among others, the (legal) names of municipalities and provinces. So far their names were not modifiable in OP. This change allows these names to be modified in that graph by the users with the appropriate role. --- config/authorization/config.ex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/authorization/config.ex b/config/authorization/config.ex index 12f824e..8742d8e 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -128,6 +128,12 @@ 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 + } } ] },