From d10465b73f5adcfdae8032b476b68d1bb57f168d Mon Sep 17 00:00:00 2001 From: mirdono Date: Thu, 29 Feb 2024 09:48:26 +0100 Subject: [PATCH] feat: allow administrator to edit data in shared graph, added error_type --- config/authorization/config.ex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/authorization/config.ex b/config/authorization/config.ex index 8742d8e..c45404e 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -132,7 +132,7 @@ defmodule Acl.UserGroups.Config do %GraphSpec{ graph: "http://mu.semte.ch/graphs/shared", constraint: %ResourceConstraint{ - resource_types: @org_type + resource_types: @org_type ++ @error_type } } ] @@ -147,6 +147,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 ++ @error_type + } } ] },