-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added nuts-pxp to setup, implemented in demo
- Loading branch information
1 parent
78bfbc4
commit 336fb25
Showing
25 changed files
with
775 additions
and
3,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ server.config.yaml | |
demo-ehr.db | ||
|
||
nuts-demo-ehr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
policy_dir: ./policies | ||
sql: | ||
connection: sqlite:file:./data/sqlite.db?_pragma=foreign_keys(1)&journal_mode(WAL) |
11 changes: 11 additions & 0 deletions
11
docker-compose/left/config/nutspxp/policies/eOverdracht-receiver.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package eOverdracht.receiver | ||
|
||
import rego.v1 | ||
|
||
# Only owner can update the pet's information | ||
# Ownership information is provided as part of OPA's input | ||
default allow := false | ||
|
||
allow if { | ||
input.request.method = "POST" | ||
} |
14 changes: 14 additions & 0 deletions
14
docker-compose/left/config/nutspxp/policies/eOverdracht-sender.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package eOverdracht.sender | ||
|
||
import rego.v1 | ||
|
||
# Only owner can update the pet's information | ||
# Ownership information is provided as part of OPA's input | ||
default allow := false | ||
|
||
# eOVerdracht expects the following data: path to [actions] mapping | ||
|
||
# example when http methods are stored in nuts-pxp | ||
allow if { | ||
input.request.method in input.external[input.request.path] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
policy_dir: ./policies | ||
sql: | ||
connection: sqlite:file:./data/sqlite.db?_pragma=foreign_keys(1)&journal_mode(WAL) |
11 changes: 11 additions & 0 deletions
11
docker-compose/right/config/nutspxp/policies/eOverdracht-receiver.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package eOverdracht.receiver | ||
|
||
import rego.v1 | ||
|
||
# Only owner can update the pet's information | ||
# Ownership information is provided as part of OPA's input | ||
default allow := false | ||
|
||
allow if { | ||
input.request.method = "POST" | ||
} |
14 changes: 14 additions & 0 deletions
14
docker-compose/right/config/nutspxp/policies/eOverdracht-sender.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package eOverdracht.sender | ||
|
||
import rego.v1 | ||
|
||
# Only owner can update the pet's information | ||
# Ownership information is provided as part of OPA's input | ||
default allow := false | ||
|
||
# eOVerdracht expects the following data: path to [actions] mapping | ||
|
||
# example when http methods are stored in nuts-pxp | ||
allow if { | ||
input.request.method in input.external[input.request.path] | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.