Creating people does not generate any medic id and user is not present in db

Describe the Bug
I have a user that is called uensal-chw that has a role called “Community care worker” and also has the permission that enbales him to create people
Screenshot 2021-12-28 at 10.42.36

This user is linked to a person called “Uensal Satan”

If I use this user “uensal-chw” now and create a new person, then the created person (in my example called "Client 3) does not receive any medic id


Also on the db, the client 3 is not present

If you I do exactly the same with the medic user, that is an admin, then i get a medic id and the entry is on the db.

Expected Behavior
A short description of what you expected to happen:
Medic Id is created and entry is on db

Environment

  • Browser: Chrome
  • Client platform: Ubuntu 20
  • Version: 3.13.0

A quick check, does this role have can_edit permission? If not, can you please try after giving this permission?

Sorry, it is not very clear from the documentation, but this permission is required so that the docs created/updated by the user are synced to the server.

can_edit
Allowed to create and edit documents in the database.

setting can_edit solved the problem. thank you very much for your support

1 Like