Skip to content

Commit

Permalink
Fix missing action Delete projetsAcl (#1520)
Browse files Browse the repository at this point in the history
  • Loading branch information
doctrino authored Nov 22, 2023
1 parent 7c26abb commit b1a26ac
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cognite/client/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations

__version__ = "7.3.2"
__version__ = "7.3.3"
__api_subversion__ = "V20220125"
1 change: 1 addition & 0 deletions cognite/client/data_classes/capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ class Action(Capability.Action):
Create = "CREATE"
List = "LIST"
Update = "UPDATE"
Delete = "DELETE"

class Scope:
All = AllScope
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_unit/test_data_classes/test_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit b1a26ac

Please sign in to comment.