databricks-cli/bundle/phases
shreyas-goenka 4131069a4b
Filter current user from resource permissions (#1145)
## Changes
The databricks terraform provider does not allow changing permission of
the current user. Instead, the current identity is implictly set to be
the owner of all resources on the platform side.

This PR introduces a mutator to filter permissions from the bundle
configuration, allowing users to define permissions for their own
identities in their bundle config.

This would allow configurations like, allowing both alice and bob to
collaborate on the same DAB:
```
permissions:
  level: CAN_MANAGE
  user_name: alice

  level: CAN_MANAGE
  user_name: bob
```

## Tests
Unit test and manually
2024-02-06 12:45:08 +00:00
..
build.go Added support for experimental scripts section (#632) 2023-09-14 10:14:13 +00:00
deploy.go Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00
destroy.go Tune output of bundle deploy command (#1047) 2023-12-21 08:00:37 +00:00
initialize.go Filter current user from resource permissions (#1145) 2024-02-06 12:45:08 +00:00
phase.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00