Skip to content

Commit

Permalink
feat: added diagram parsing ACL
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino committed Dec 11, 2024
1 parent 2a94adf commit 954135b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cognite/client/data_classes/capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 954135b

Please sign in to comment.