I have a small issue with sending email inside tracker app for the users. As admin I can send any message, but user’s cannot.
I know it is connected to the permission, as I got on the console reply from the server:
message: “Access is denied”
Could you any one point me out where can I set those permission so user could email inside the Tracker app?
Does the user role assigned to this user have access to send email under system?
Go to Users - user role - select the roles the user has been assigned to and look for send email here:
Hopefully it will solve the problem.
Thank you for your reply. Yes, it is enabled.
What else may affect this functionality?
Given the email configurations are correct because Admin can send emails and that users are given the permission to send emails but it’s not working then I think we’d need to investigate this a bit more.
Any chance there’s more info in the Network log or the Catalina log that could help debug the issue please? It might help to know the dhis2 version as well.
Unfortunately I don’t have an access to the Catalina log files.
DHIS version is:
Version - 184.108.40.206-SNAPSHOT
Build revision - 0a0d8e3
Build date May 3, 2022, 22:54
Here is the server’s response screenshot:
This is the maximum what I could get from the logs:
“POST /api/messages HTTP/2.0” 403 93 “https://…/dhis-web-tracker-capture/index.html” “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.41 Safari/537.36” “-”
Today I have forwarded question to the hosting admin, so they have to try find out the solution.
Thank you again Al-Gassim
Hi @Gassim ,
We have tried to find the reason why user cannot email inside Tracker App, but failed.
Therefore the ticket Log in - DHIS 2 JIRA which was created 1/12/21, has been updated. And it seems this is a bug. Unfortunately that ticket still haven’t been assigned to anyone yet.
Okay, thank you a lot! I am triaging to the developers and we’ll get back to you asap.
That would be even better and could accelerate the bug fixage time.
Have a great day!