Skip to content

Commit

Permalink
fix filter and add to example vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
karel kremer committed May 13, 2024
1 parent 6e34e38 commit 018ce8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/authorization-wrapper/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export async function isAuthorized(sessionUri) {
a session:Session ;
mu:uuid ?uuid ;
dct:created ?created ;
muAccount:account ?account .
muAccount:account ?account ;
muAccount:canActOnBehalfOf ext:abb .
}
} LIMIT 2
Expand Down
3 changes: 3 additions & 0 deletions queries/vendor-access/add-vendor-key.sparql
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ PREFIX bestuurseenheid: <http://data.lblod.info/id/bestuurseenheden/>
INSERT DATA {
GRAPH <http://mu.semte.ch/graphs/automatic-submission> {
<http://data.lblod.info/vendors/c5da766f-f1a6-426a-9a4d-36b96a855e18> muAccount:key "my super secret key that i should replace" .
<http://data.lblod.info/vendors/c5da766f-f1a6-426a-9a4d-36b96a855e18> muAccount:canActOnBehalfOf ext:abb .

ext:abb mu:uuid "a4d0e269-35ca-4f0f-be44-c836d0f3f5b7" .
}
}

0 comments on commit 018ce8b

Please sign in to comment.