NOTE: This is a public repository. Images or logs containing protected health information (PHI) must be fully-redacted.
Describe the Bug
A short description of the issue or error you are encountering:
I am testing the reference application locally, and logging in as an admin seems to work fine, however it is not possible to see tasks/targets and test offline functionality as such. That being the reason why I tried to create a CHW or CHW supervisor profile, to test said functionality. I have, however, not managed to log in with any other role, other than admin. I log in with data entry profile either, it always say that I do not have the right/permission to access the information, or in the case of logging in with CHW /Supervisor it says to check the connection (which I do have).
How To Reproduce The Issue
List steps for someone trying to reproduce the behavior. For example:
- Go to the administration panel
- Create a new user with CHW supervisor role
- Log out and log back in
- See error
Expected Behavior
A short description of what you expected to happen:
Successful log in and visualization of the different tabs (report, tasks, target and so on)
Environment
- Instance: created by following cht-core/DEVELOPMENT.md at master · medic/cht-core · GitHub
- Browser: Chrome, and mobile application on tablet
- Client platform: MacOS / Android
- App: webapp, mobile-android
- Version: latest
Additional Context
I tried to create a new role with every permission, which did not work either. I tried to clear cache, clear cookies, no success. Also tried to log in without internet without success either. Tried CHW and other roles too.