Elffuss BraidHub

kikocis/EDC public

main · 860 BRenderedRawPermalink
1# SQL Policy Store
2
3Provides SQL persistence for policies.
4
5Note that the SQL statements (DDL) are specific to and only tested with PostgreSQL. Using it with other RDBMS may work
6but might have unexpected side effects!
7
8## Prerequisites
9
10Please apply this [schema](src/main/resources/policy-definition-schema.sql) to your SQL database.
11
12## Entity Diagram
13
14![ER Diagram](docs/er.png)
15<!--
16```plantuml
17@startuml
18entity edc_policydefinitions {
19 * policy_id: string <<PK>>
20 --
21 * access_policy: string <<json>>
22 * contract_policy: string <<json>>
23 * assets_selector: string <<json>>
24 * permissions: string <<json>>
25 * prohibitions: string <<json>>
26 * duties: string <<json>>
27 * extensible_properties: string <<json>>
28 * inherits_from: string
29 * assigner: string
30 * assignee: string
31 * target: string
32 * policy_type: string <<json>>
33}
34@enduml
35```
36-->