databricks-cli/bundle/config/validate
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
..
all_resources_have_values.go Report all empty resources present in error diagnostic (#1685) 2024-08-20 00:22:00 +00:00
files_to_sync.go Support multiple paths for diagnostics (#1616) 2024-07-25 15:16:27 +00:00
folder_permissions.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
folder_permissions_test.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
job_cluster_key_defined.go Support multiple paths for diagnostics (#1616) 2024-07-25 15:16:27 +00:00
job_cluster_key_defined_test.go Added validate mutator to surface additional bundle warnings (#1352) 2024-04-18 15:13:16 +00:00
job_task_cluster_spec.go Add JobTaskClusterSpec validate mutator (#1784) 2024-09-25 11:30:14 +00:00
job_task_cluster_spec_test.go Add JobTaskClusterSpec validate mutator (#1784) 2024-09-25 11:30:14 +00:00
unique_resource_keys.go Pass copy of `dyn.Path` to callback function (#1747) 2024-09-05 11:05:16 +00:00
validate.go Added validator for folder permissions (#1824) 2024-10-24 12:36:17 +00:00
validate_sync_patterns.go Make fileset take optional list of paths to list (#1684) 2024-08-19 15:15:14 +00:00