Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
dms_compat_auto true
dms_undeclared_deploying_user false
dms_undeclared_group false
dms_undeclared_other_user false
dms_undeclared_service_principal false
experimental.use_legacy_run_as false
has_classic_interactive_compute false
has_classic_job_compute false
has_serverless_compute true
local.cache.attempt true
local.cache.miss true
permissions_section_set false
presets_name_prefix_is_set false
python_wheel_wrapper_is_set false
run_as_set false
skip_artifact_cleanup false
state_path_in_deployer_home true
state_path_in_other_user_home false
state_path_is_shared false
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
dms_compat_auto true
dms_undeclared_deploying_user false
dms_undeclared_group false
dms_undeclared_other_user false
dms_undeclared_service_principal false
experimental.use_legacy_run_as false
has_classic_interactive_compute false
has_classic_job_compute false
has_serverless_compute true
local.cache.attempt true
local.cache.miss true
permissions_section_set false
presets_name_prefix_is_set false
python_wheel_wrapper_is_set false
run_as_set false
skip_artifact_cleanup false
state_path_in_deployer_home true
state_path_in_other_user_home false
state_path_is_shared false
7 changes: 7 additions & 0 deletions acceptance/bundle/resource_deps/resources_var/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,21 @@

>>> print_telemetry_bool_values
dms_compat_auto true
dms_undeclared_deploying_user false
dms_undeclared_group false
dms_undeclared_other_user false
dms_undeclared_service_principal false
experimental.use_legacy_run_as false
has_classic_interactive_compute false
has_classic_job_compute false
has_serverless_compute false
local.cache.attempt true
local.cache.hit true
permissions_section_set false
presets_name_prefix_is_set true
python_wheel_wrapper_is_set false
run_as_set false
skip_artifact_cleanup false
state_path_in_deployer_home true
state_path_in_other_user_home false
state_path_is_shared false
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
dms_compat_auto true
dms_undeclared_deploying_user false
dms_undeclared_group false
dms_undeclared_other_user false
dms_undeclared_service_principal false
experimental.use_legacy_run_as false
has_classic_interactive_compute false
has_classic_job_compute false
has_serverless_compute false
has_tf_only_references true
local.cache.attempt true
local.cache.hit true
permissions_section_set false
presets_name_prefix_is_set false
python_wheel_wrapper_is_set false
run_as_set false
skip_artifact_cleanup false
state_path_in_deployer_home true
state_path_in_other_user_home false
state_path_is_shared false
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
56 changes: 56 additions & 0 deletions acceptance/bundle/telemetry/deploy-compute-type/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down Expand Up @@ -95,6 +123,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
28 changes: 28 additions & 0 deletions acceptance/bundle/telemetry/deploy-experimental/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
28 changes: 28 additions & 0 deletions acceptance/bundle/telemetry/deploy-name-prefix/custom/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
56 changes: 56 additions & 0 deletions acceptance/bundle/telemetry/deploy-whl-artifacts/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down Expand Up @@ -96,6 +124,34 @@ Deployment complete!
"key": "state_path_is_shared",
"value": false
},
{
"key": "permissions_section_set",
"value": false
},
{
"key": "state_path_in_deployer_home",
"value": true
},
{
"key": "state_path_in_other_user_home",
"value": false
},
{
"key": "dms_undeclared_deploying_user",
"value": false
},
{
"key": "dms_undeclared_other_user",
"value": false
},
{
"key": "dms_undeclared_service_principal",
"value": false
},
{
"key": "dms_undeclared_group",
"value": false
},
{
"key": "dms_compat_auto",
"value": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ targets:
- group_name: team
level: CAN_MANAGE

# The state lives under another user's home, where that user has inherited CAN_MANAGE
# that the bundle does not declare.
other_user_not_declared:
permissions:
- user_name: ${workspace.current_user.userName}
level: CAN_MANAGE
workspace:
state_path: /Workspace/Users/other@example.com/test-bundle-state

# A shared state folder is writable by all workspace users; that access is declared
# via group_name: users CAN_MANAGE.
shared_users_can_manage:
Expand Down
Loading
Loading