Skip to content

Commit

Permalink
fix(mu-auth): grant file-creation to accounts with publisher and sign…
Browse files Browse the repository at this point in the history
…er roles
  • Loading branch information
elpoelma committed Nov 18, 2024
1 parent be326eb commit 5f37da5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-kings-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-gelinkt-notuleren": patch
---

Ensure accounts with the `GelinktNotuleren-publiceerder` and `GelinktNotuleren-ondertekenaar` roles are allowed to create files.
2 changes: 2 additions & 0 deletions config/authorization/config.ex
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ defmodule Acl.UserGroups.Config do
graph: "http://mu.semte.ch/graphs/organizations/",
constraint: %ResourceConstraint{
resource_types: [
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject",
"http://data.vlaanderen.be/ns/besluitvorming#Agenda",
"http://mu.semte.ch/vocabularies/ext/VersionedAgenda",
"http://mu.semte.ch/vocabularies/ext/VersionedNotulen",
Expand Down Expand Up @@ -221,6 +222,7 @@ defmodule Acl.UserGroups.Config do
graph: "http://mu.semte.ch/graphs/organizations/",
constraint: %ResourceConstraint{
resource_types: [
"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject",
"http://data.vlaanderen.be/ns/besluitvorming#Agenda",
"http://mu.semte.ch/vocabularies/ext/VersionedAgenda",
"http://mu.semte.ch/vocabularies/ext/VersionedNotulen",
Expand Down

0 comments on commit 5f37da5

Please sign in to comment.