Managing the permissions using MLFlow APIs

SagarK1
New Contributor

Hello All,

I am trying to manage the permissions on the experiments using the MLFLow API. Do we have any MLFlow API which helps to manage the permissions of Can Read ,Can Edit , Can Manage.

Example :

I create the model using MLFlow APIs and through my code I should be able to enforce the permission saying what permission can be given for this model.E.g. Can Read , Can Edit , Can Manage.

Thanks

Prabakar
Databricks Employee
Databricks Employee

Hi @Sagar Kant​ Please refer to the below document that provides a detailed explanation about the MLflow permissions API.

https://docs.databricks.com/dev-tools/api/latest/permissions.html#tag/MLflow-experiment-permissions

https://docs.databricks.com/dev-tools/api/latest/permissions.html#tag/MLflow-registered-model-permis...

Prabakar
Databricks Employee
Databricks Employee

Hi @Sagar Kant​ , Could you please let me know if the answer I provided earlier resolved your query? If so would you be happy to mark the answer as best so that others can quickly find the solution in the future?

sean_owen
Databricks Employee
Databricks Employee

I don't believe you can set MLflow permissions via the API. Permissions are a function of Databricks rather than MLflow itself.

jsan
New Contributor II

Hey folks, did we get any workaround for this or what @Sean Owen​ said is true ?