JohnKruebbe
New Contributor II

I get that the solution was accepted, but it is very confusing when you run the databricks command as follows:

databricks clusters get-permissions my-joyous-db-cluster

"access_control_list": [

{
"all_permissions": [
{
"inherited":false,
"permission_level":"CAN_RESTART"
}
],
"display_name":"Databricks User Jim",
"user_name":"nbu@flaminghell.onmicrosoft.com"
}

],

 "object_id":"/clusters/3333-123456-aaaa2jk8",

"object_type":"cluster"

}

and when you set the permissions the format is like:

{
  "access_control_list": [
    
      {
      "permission_level":"CAN_RESTART",
      "display_name":"Databricks User Jim",
      "user_name":"nbu@flaminghell.onmicrosoft.com"
       }
 ],
  "object_id":"/clusters/3333-123456-aaaa2jk8",
  "object_type":"cluster"
}

 

Why the all_permissions on the print out but not on the user names when you set them.  Why is the format not exactly the same when getting and setting the values?  This is rediculous.