Is impersonate feature present in 2.40 version

Hello.

I am viewing this page Debugging as another user - DHIS2 Documentation but when I follow the instructions there is an error.

This is the dhis.conf file content in that server:

The server is in 2.40.9 versión now.

This feature is very usefull when supporting users.

Thanks!!

Thanks!!

1 Like

Hi @JaimeLopez
Thank you for the links and the screenshot. There’s an ongoing development for this feature. It appears that the older method (which is described in the link you shared had some issues that require to be updated for the newer software); however, for version 2.40 it is mentioned as a ‘preview’ feature: dhis2-releases/releases/2.40/ReleaseNote-2.40.md at master · dhis2/dhis2-releases · GitHub

Could you check what is the issue you are getting in the Catalina.out log when you try to access that?

Thank you!

Hello @Gassim

Thanks for your answer (for both). The catalina.out is showing only the authenticate message from my user.

Nothing from the user I am trying to impersonate nor the 404 error shown:

image

Is there anywhere else I can inspect to see whats happening? Any other logs?

Thanks

Hi @JaimeLopez

What is interesting is that the ‘impersonation’ is actually being logged in the log. I would need to try to reproduce the whole thing and do a lot of testing to see if I can figure this out, but I’ve asked for help from the team (@netroms).

I found this Jira ticket which might be related to the issue you are facing, so I recommend watching it to receive a notification if there are any updates: Jira

Thanks!

FYI we are also working on a User Interface for this to make it easier to access the impersonation feature. Jira