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!