File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010[ Please read through the Keep a Changelog (~ 5min)] ( https://keepachangelog.com/en/1.0.0/ ) .
1111
12+ ## [ UNRELEASED] - YYYY-MM-DD
13+
14+ ### Fixed
15+
16+ - Added documentation for JOBS_API version usage to ensure ACLs are working as expected
17+
1218## [ 0.8.14] - 2023-05-11
1319
1420### Added
Original file line number Diff line number Diff line change 99
1010## :material-file-check: Providing the permissions
1111
12+ !!! warning "Enforcing Jobs API 2.1 usage to work with ACLs"
13+
14+ Provisioning of ACLs is only supported with Jobs API 2.1. To enforce Jobs API 2.1 usage, please use the following settings:
15+
16+ For local setup via `~/.databrickscfg` use the following command:
17+
18+ ```bash
19+ databricks jobs configure --version=2.1 # add --profile=<profile-name> to enforce configuration for different profiles
20+ ```
21+
22+ In CI pipelines, provide the following environment variable:
23+
24+ ```bash
25+ DATABRICKS_JOBS_API_VERSION=2.1
26+ ```
27+
1228To manage permissions provide the following payload at the workflow level:
1329
1430``` yaml
@@ -31,8 +47,10 @@ environments:
3147 tasks :
3248 ...
3349 access_control_list :
34- - user_name : " some_user@example.com "
50+ - service_principal_name : " service-principal://some-sp-name " # alternatively, you can directly provide the Id string itself
3551 permission_level : " IS_OWNER"
52+ - user_name : " some_user@example.com"
53+ permission_level : " CAN_MANAGE"
3654 - group_name : " some-user-group"
3755 permission_level : " CAN_VIEW"
3856` ` `
Original file line number Diff line number Diff line change @@ -247,7 +247,7 @@ environments:
247247 workflows:
248248 - name: "example-workflow"
249249 access_control_list:
250- - user_name : "service-principal://some-service-principal-name"
250+ - service_principal_name : "service-principal://some-service-principal-name"
251251 permission_level: "IS_OWNER"
252252 - user_name: "some-real-user@email.com"
253253 permission_level: "CAN_MANAGE"
You can’t perform that action at this time.
0 commit comments