cli
cli copied to clipboard
Workflow Permissions: Impossible to deploy again a workflow if I'm not the owner
Describe the issue
I don't know if it's an issue or if the behaviour is expected, but, I'm not able to deploy a already deployed workflow which I'm not the owner. Even with the "CAN_MANAGE" permissions
Configuration
> databricks --version
Databricks CLI v0.214.1
Steps to reproduce the behavior
- Someone from the team make a
databricks bundle deploy -t laba completely new bundle so he's the owner of all the deployed resources - Someone else of the team run the exact same command
databricks bundle deploy -t lab - See error
The errors are the following (we tried different permissions for the person who wants to deploy again the same bundle)
After giving the permission "CAN_MANAGE" to that person, this error happened
Expected Behavior
We expected to be able to deploy that workflow with the permission "CAN_MANAGE", even without being the owner of the workflow, which is not the case here.
Actual Behavior
It's not possible to deploy the workflow
OS and CLI version
> databricks --version
Databricks CLI v0.214.1
On Mac OS 14.3.1
Is this a regression?
I'm not sure about what I'm gonna say but I think with the dbx CLI, it's possible to do it. We used it few months back before migrating to bundle.
Debug Logs
I put here the log in debug mode
Thanks for the help ;)
Still the same issue with
> databricks --version
Databricks CLI v0.215.0
@Philippe-Neveux does the issue still persists for you? Generally this is not expected, but the logs you but in Debug Logs seem to mention that users generally does not have permissions on Jobs, could it be that something is misconfigured in the workspace?