diff --git a/CHANGELOG.md b/CHANGELOG.md index 1553dfafe7..a8f52b38c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ Changes are grouped as follows - `Fixed` for any bug fixes. - `Security` in case of vulnerabilities. +## [7.3.3] - 2023-11-22 +### Fixed +- Added action `Delete` in `ProjectsAcl`. + ## [7.3.2] - 2023-11-21 ### Fixed - `workflows.retrieve` and `workflows.versions.retrieve` returned None if the provided workflow external id contained special characters. This is now fixed. diff --git a/cognite/client/_version.py b/cognite/client/_version.py index df90b9bd8b..1c585e9416 100644 --- a/cognite/client/_version.py +++ b/cognite/client/_version.py @@ -1,4 +1,4 @@ from __future__ import annotations -__version__ = "7.3.2" +__version__ = "7.3.3" __api_subversion__ = "V20220125" diff --git a/cognite/client/data_classes/capabilities.py b/cognite/client/data_classes/capabilities.py index efd429ae78..68c5a4d79b 100644 --- a/cognite/client/data_classes/capabilities.py +++ b/cognite/client/data_classes/capabilities.py @@ -658,6 +658,7 @@ class Action(Capability.Action): Create = "CREATE" List = "LIST" Update = "UPDATE" + Delete = "DELETE" class Scope: All = AllScope diff --git a/pyproject.toml b/pyproject.toml index b68dd45b49..1e1cbc7802 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "cognite-sdk" -version = "7.3.2" +version = "7.3.3" description = "Cognite Python SDK" readme = "README.md" documentation = "https://cognite-sdk-python.readthedocs-hosted.com" diff --git a/tests/tests_unit/test_data_classes/test_capabilities.py b/tests/tests_unit/test_data_classes/test_capabilities.py index 9fc37e0388..3839ff9d25 100644 --- a/tests/tests_unit/test_data_classes/test_capabilities.py +++ b/tests/tests_unit/test_data_classes/test_capabilities.py @@ -55,7 +55,7 @@ def all_acls(): {"monitoringTasksAcl": {"actions": ["READ", "WRITE"], "scope": {"all": {}}}}, {"notificationsAcl": {"actions": ["READ", "WRITE"], "scope": {"all": {}}}}, {"pipelinesAcl": {"actions": ["READ", "WRITE"], "scope": {"all": {}}}}, - {"projectsAcl": {"actions": ["UPDATE", "LIST", "READ", "CREATE"], "scope": {"all": {}}}}, + {"projectsAcl": {"actions": ["UPDATE", "LIST", "READ", "CREATE", "DELETE"], "scope": {"all": {}}}}, {"rawAcl": {"actions": ["READ", "WRITE", "LIST"], "scope": {"all": {}}}}, { "rawAcl": {