From 954135b0995cc0280c990a86e23a430760251449 Mon Sep 17 00:00:00 2001 From: anders-albert Date: Wed, 11 Dec 2024 11:02:17 +0100 Subject: [PATCH] feat: added diagram parsing ACL --- cognite/client/data_classes/capabilities.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cognite/client/data_classes/capabilities.py b/cognite/client/data_classes/capabilities.py index 9990d3e9af..b486c5c31f 100644 --- a/cognite/client/data_classes/capabilities.py +++ b/cognite/client/data_classes/capabilities.py @@ -605,6 +605,20 @@ class Scope: ID = IDScope +@dataclass +class DiagramParsingAcl(Capability): + _capability_name = "diagramParsingAcl" + actions: Sequence[Action] + scope: AllScope = field(default_factory=AllScope) + + class Action(Capability.Action): + Read = "READ" + Write = "WRITE" + + class Scope: + All = AllScope + + @dataclass class DigitalTwinAcl(Capability): _capability_name = "digitalTwinAcl"