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?
Best Answer
-
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.
Answers
-
JohnnyDablju Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered, Frontrunner 2022 Participant Posts: 2 ✭✭✭
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?