databricks-cli/bundle/permissions
Andrew Nester eaea308254
Added validator for folder permissions (#1824)
## Changes
This validator checks permissions defined in top-level bundle config and
permissions set in workspace for the folders bundle is deployed to. It
raises the warning if the permissions defined in the workspace are not
defined in bundle.

This validator is executed only during `bundle validate` command.

## Tests

```
Warning: untracked permissions apply to target workspace path

The following permissions apply to the workspace folder at "/Workspace/Users/andrew.nester@databricks.com/.bundle/clusters/default" but are not configured in the bundle:
- level: CAN_MANAGE, user_name: andrew.nester@databricks.com
```

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-24 12:36:17 +00:00
..
filter.go Properly deal with nil values in `convert.FromTyped` (#1511) 2024-06-21 13:43:21 +00:00
filter_test.go Fixed panic when loading incorrectly defined jobs (#1402) 2024-05-17 10:10:17 +00:00
mutator.go Remove unused `IS_OWNER` constant (#1823) 2024-10-10 13:43:21 +00:00
mutator_test.go Fixed panic when loading incorrectly defined jobs (#1402) 2024-05-17 10:10:17 +00:00
permission_diagnostics.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
permission_diagnostics_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
permission_report.go Move utility functions dealing with IAM to libs/iamutil (#1820) 2024-10-10 13:02:25 +00:00
permission_report_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
terraform_errors.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
terraform_errors_test.go Show actionable errors for collaborative deployment scenarios (#1386) 2024-10-10 11:18:23 +00:00
utils.go Added support for top-level permissions (#928) 2023-11-13 11:29:40 +00:00
validate.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
validate_test.go Added a warning when incorrect permissions used for `/Workspace/Shared` bundle root (#1821) 2024-10-18 15:37:16 +00:00
workspace_path_permissions.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
workspace_path_permissions_test.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
workspace_root.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
workspace_root_test.go Added a warning when incorrect permissions used for `/Workspace/Shared` bundle root (#1821) 2024-10-18 15:37:16 +00:00