cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Automating Job Permission Updates in Databricks Using a Notebook

Raj_DB
Contributor

Hi everyone,

I am looking to create a notebook that, when executed by a user, performs the following actions:

  • Retrieves all Databricks jobs created by the current user

  • Checks whether a specific role already has permissions on those jobs

  • Automatically adds the required role permission if it is missing

The goal is to ensure that all jobs created within our team are visible and manageable by a common team role for better collaboration.

I am looking for the best approach, sample implementations, or best practices would be appreciated.

Thank you!

0 REPLIES 0