diff --git a/cognite/client/data_classes/capabilities.py b/cognite/client/data_classes/capabilities.py index 5e402dbbe..5fbb58fe0 100644 --- a/cognite/client/data_classes/capabilities.py +++ b/cognite/client/data_classes/capabilities.py @@ -890,8 +890,8 @@ class SAPWritebackRequestsAcl(Capability): scope: AllScope | InstancesScope class Action(Capability.Action): # type: ignore [misc] - Read = "READ" Write = "WRITE" + List = "LIST" class Scope: All = AllScope diff --git a/tests/tests_unit/test_data_classes/test_capabilities.py b/tests/tests_unit/test_data_classes/test_capabilities.py index c7e5995ca..b092c7131 100644 --- a/tests/tests_unit/test_data_classes/test_capabilities.py +++ b/tests/tests_unit/test_data_classes/test_capabilities.py @@ -96,10 +96,10 @@ def all_acls(): {"roboticsAcl": {"actions": ["READ"], "scope": {"datasetScope": {"ids": ["583194012260066"]}}}}, {"sapWritebackAcl": {"actions": ["READ", "WRITE"], "scope": {"all": {}}}}, {"sapWritebackAcl": {"actions": ["READ", "WRITE"], "scope": {"instancesScope": {"instances": ["123", "456"]}}}}, - {"sapWritebackRequestsAcl": {"actions": ["READ", "WRITE"], "scope": {"all": {}}}}, + {"sapWritebackRequestsAcl": {"actions": ["WRITE", "LIST"], "scope": {"all": {}}}}, { "sapWritebackRequestsAcl": { - "actions": ["READ", "WRITE"], + "actions": ["WRITE", "LIST"], "scope": {"instancesScope": {"instances": ["123", "456"]}}, } },