Skip to content

Commit a26b3c2

Browse files
FriedJannikaaronzi
andauthored
Adapts Secured Example to utilize Discovery Integration (#734)
* Adapts Secured Example to utilize Discovery Integration * Update examples/BaSyxSecured/.env --------- Co-authored-by: Aaron Zielstorff <aaron.zielstorff@iese.fraunhofer.de>
1 parent e0e13f1 commit a26b3c2

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

examples/BaSyxSecured/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
BASYX_VERSION=2.0.0-milestone-04
2-
AAS_WEBUI_VERSION=v2-241220
1+
BASYX_VERSION=2.0.0-SNAPSHOT
2+
AAS_WEBUI_VERSION=SNAPSHOT
33
KEYCLOAK_VERSION=24.0.4

examples/BaSyxSecured/basyx/rules/aas_discovery_rbac_rules.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,19 @@
3939
}
4040
]
4141
}
42+
},
43+
{
44+
"role": "admin",
45+
"action": ["CREATE", "READ", "UPDATE", "DELETE"],
46+
"targetInformation": {
47+
"@type": "aas-discovery-service",
48+
"aasIds": "*",
49+
"assetIds": [
50+
{
51+
"name": "*",
52+
"value": "*"
53+
}
54+
]
55+
}
4256
}
4357
]

0 commit comments

Comments
 (0)