diff --git a/CHANGELOG.md b/CHANGELOG.md index 903b8d28..e459287d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [Please read through the Keep a Changelog (~5min)](https://keepachangelog.com/en/1.0.0/). +## [0.8.14] - 2023-05-11 + +### Added + +- Add `service_principal_name` support for ACLs + ## [0.8.13] - 2023-05-10 ### Fixed diff --git a/dbx/__init__.py b/dbx/__init__.py index 07508a60..fb551e73 100644 --- a/dbx/__init__.py +++ b/dbx/__init__.py @@ -1 +1 @@ -__version__ = "0.8.13" +__version__ = "0.8.14" diff --git a/dbx/models/workflow/common/access_control.py b/dbx/models/workflow/common/access_control.py index c732441e..74e4b390 100644 --- a/dbx/models/workflow/common/access_control.py +++ b/dbx/models/workflow/common/access_control.py @@ -17,10 +17,11 @@ class PermissionLevel(str, Enum): class AccessControlRequest(FlexibleModel): user_name: Optional[str] group_name: Optional[str] + service_principal_name: Optional[str] permission_level: PermissionLevel _one_of_provided = root_validator(pre=True, allow_reuse=True)( - lambda _, values: at_least_one_of(["user_name", "group_name"], values) + lambda _, values: at_least_one_of(["user_name", "group_name", "service_principal_name"], values) )