Describe the issue
The job URL printed by the CLI doesn't bring all permitted users to the job run in the UI, but brings some users to the homepage instead.
Configuration
The users impacted by this have the following entitlements via their group membership:
- Databricks SQL Access
- Consumer access
Furthermore, they have the following permission set on the resources in the bundle (which includes the job):
Steps to reproduce the behavior
- Set up a user with permissions as above
- Create a job resource in DAB
- Deploy the bundle
- Run
databricks bundle run <job>
- It will print the job run URL in this format:
Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[JOB_ID]/run/[RUN_ID]
Expected Behavior
When any user who has permission to view the job clicks on the URL, they are brought to the job run in the UI.
Actual Behavior
- When users with the permissions configured as above try to open this URL, it brings them to the homepage of the workspace.
Additional behavior found:
- When admin users open the same URL, it resolves to a URL in this format:
[DATABRICKS_URL]/jobs/[JOB_ID]/runs/[RUN_ID]?o=[NUMID], and they can see the job run in the UI. (this part is as expected)
- When the users with the permissions configured as above use the resolved URL (e.g. because an admin gave them that URL or they manually modfied the URL format), it works fine for them as well.
OS and CLI version
OS: Linux
CLI version: v0.297.2
Is this a regression?
AFAIK not.
Describe the issue
The job URL printed by the CLI doesn't bring all permitted users to the job run in the UI, but brings some users to the homepage instead.
Configuration
The users impacted by this have the following entitlements via their group membership:
Furthermore, they have the following permission set on the resources in the bundle (which includes the job):
Steps to reproduce the behavior
databricks bundle run <job>Run URL: [DATABRICKS_URL]/?o=[NUMID]#job/[JOB_ID]/run/[RUN_ID]Expected Behavior
When any user who has permission to view the job clicks on the URL, they are brought to the job run in the UI.
Actual Behavior
Additional behavior found:
[DATABRICKS_URL]/jobs/[JOB_ID]/runs/[RUN_ID]?o=[NUMID], and they can see the job run in the UI. (this part is as expected)OS and CLI version
OS: Linux
CLI version: v0.297.2
Is this a regression?
AFAIK not.