-
Notifications
You must be signed in to change notification settings - Fork 2
Add examples for REFERENCE and APPEND only #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: IDTA-01004-3-1_Working
Are you sure you want to change the base?
Changes from 11 commits
3e9d31c
844b3bf
3f23a7d
e419265
a09509e
255814c
fefb4f9
ff8cb7f
a253abf
49b107a
7e80b30
e4a5c48
6cc50d8
a2624f4
86b3c76
ab8fef3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| ACCESSRULE: | ||
| ATTRIBUTES: | ||
| CLAIM("Role") | ||
| RIGHTS: CREATE | ||
| ACCESS: ALLOW | ||
| OBJECTS: | ||
| IDENTIFIABLE $sm("*") | ||
| FORMULA: | ||
| $and( | ||
| CLAIM("Role") $eq "person with legitimate interest", | ||
| $sme#semanticId $eq "CertificateSet" | ||
| ) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| { | ||
| "AllAccessPermissionRules": { | ||
| "rules": [ | ||
| { | ||
| "ACL": { | ||
| "ATTRIBUTES": [ | ||
| { | ||
| "CLAIM": "Role" | ||
| } | ||
| ], | ||
| "RIGHTS": [ | ||
| "READ" | ||
| ], | ||
| "ACCESS": "ALLOW" | ||
| }, | ||
| "OBJECTS": [ | ||
| { | ||
| "IDENTIFIABLE": "$sm(\"*\")" | ||
| } | ||
| ], | ||
| "FORMULA": { | ||
| "$and": [ | ||
| { | ||
| "$eq": [ | ||
| { | ||
| "CLAIM": "Role" | ||
| }, | ||
| { | ||
| "$strVal": "person with legitimate interest" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "$eq": [ | ||
| { | ||
| "$field": "$sme#semanticId" | ||
| }, | ||
| { | ||
| "$strVal": "CertificateSet" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,15 @@ | ||||||
| ACCESSRULE: | ||||||
|
||||||
| ATTRIBUTES: | ||||||
| GLOBAL(ANONYMOUS) | ||||||
| RIGHTS: READ | ||||||
| ACCESS: ALLOW | ||||||
| OBJECTS: | ||||||
| ROUTE "*" | ||||||
| FORMULA: | ||||||
| $and( | ||||||
| REFERENCE($sme("SubmodelID-OperationalData").machineState#value) $eq "not-running", | ||||||
| $or( | ||||||
| $sm#semanticId $eq "SemanticID-Nameplate", | ||||||
|
||||||
| $sm#semanticId $eq "SemanticID-Nameplate", | |
| $sm#semanticId $eq "SemanticID-OperationalData", |
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| $sm#semanticId $eq "SemanticID-TechnicalData" | |
| $sm#semanticId $eq "SemanticID-PerformanceData" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| { | ||
| "AllAccessPermissionRules": { | ||
| "rules": [ | ||
| { | ||
| "ACL": { | ||
| "ATTRIBUTES": [ | ||
| { | ||
| "GLOBAL": "ANONYMOUS" | ||
| } | ||
| ], | ||
| "RIGHTS": [ | ||
| "READ" | ||
| ], | ||
| "ACCESS": "ALLOW" | ||
| }, | ||
| "OBJECTS": [ | ||
| { | ||
| "ROUTE": "*" | ||
| } | ||
| ], | ||
| "FORMULA": { | ||
| "$and": [ | ||
| { | ||
| "$eq": [ | ||
| { | ||
| "REFERENCE": { | ||
| "$sme(\"SubmodelID-OperationalData\").machineState#value" | ||
| } | ||
| }, | ||
| { | ||
| "$strVal": "not-running" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "$or": [ | ||
| { | ||
| "$eq": [ | ||
| { | ||
| "$field": "$sm#semanticId" | ||
| }, | ||
| { | ||
| "$strVal": "SemanticID-Nameplate" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "$eq": [ | ||
| { | ||
| "$field": "$sm#semanticId" | ||
| }, | ||
| { | ||
| "$strVal": "SemanticID-TechnicalData" | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } |
Check warning
Code scanning / QDJVMC
Typo Warning documentation