Join us at the Everyday AI Conference in London, New York & Bengaluru! REGISTER NOW

Permissions required to run Web App

Solved!
JohnnyDablju
Level 1
Permissions required to run Web App

Hello,

We are building standard Dataiku Web App with enabled Python backend. We're trying to use certain account to run the backend (selected in "Run backend as" of Settings tab of Web App instance). This account belongs to certain group that was granted following permissions:

  • Admin access to the project where Web App is hosted
  • Write isolated code
  • Create active Web Content

Whenever, we try to start the backend, we receive an error as per attachment. The interface does not provide any additional details.

Have any of you encountered similar issues? Or maybe do you know what exact permissions need to be granted to user account so it can run Web App backend?

0 Kudos
1 Solution
fchataigner2
Dataiker
Dataiker

Hi,

in addition to the permissions you mention, the user selected will need the permission to read the project's contents, and most likely write project content too. If the selected user already has these permissions, you should generate a diagnostic in Administration > Maintenance > Diagnostic tool and open a support ticket on support.dataiku.com with the diag.

View solution in original post

0 Kudos
2 Replies
fchataigner2
Dataiker
Dataiker

Hi,

in addition to the permissions you mention, the user selected will need the permission to read the project's contents, and most likely write project content too. If the selected user already has these permissions, you should generate a diagnostic in Administration > Maintenance > Diagnostic tool and open a support ticket on support.dataiku.com with the diag.

0 Kudos
JohnnyDablju
Level 1
Author

Thanks for pointing into the right direction!

Based on log analysis, the issue was ultimately caused by lack of permissions to one of the projects from which libs were imported as per: https://doc.dataiku.com/dss/latest/python/reusing-code.html#importing-libraries-from-other-projects 

And just a suggestion of Dataiku improvement. Maybe you could add an option to display stack trace when encountering an error in Web App's Python backend?

0 Kudos