Skip to content

Commit

Permalink
Merge pull request #214 from lblod/fix/allow-file-creation
Browse files Browse the repository at this point in the history
Grant file creation/write permission to accounts with 'Publiceerder' and 'Ondertekenaar' roles
  • Loading branch information
abeforgit authored Nov 20, 2024
2 parents be326eb + 5f37da5 commit 6c26533
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 6c26533

Please sign in to comment.