← Back to team overview

dhis2-devs team mailing list archive

[Bug 1250992] [NEW] Subset of user roles assigned to a user does not allow him to enter the data

 

Public bug reported:

I created a user role with 90% of the privileges assigned to it except
some unrelated privileges like, create user, create validation rule, SQL
view etc. A user who has been assigned this user role is not being able
to enter the data for different visits (like ANC First Visit). Also the
user is not able to enroll a patient to any of the programs. Clicking on
the 'Enroll' gives an error 'No programs available for enrollment.'. I
verified that the programs do exist in the system and the user has
access to it.

I am using DHIS Live 2.11. I tested this bug on DHIS 2.13 here -
http://apps.dhis2.org/demo/dhis-web-commons/security/login.action

This could be the potential bug in DHIS 2.13 as well, unless I am doing something wrong while creating a user role.
I tried creating a user role and gave almost all the privileges to it except the ones mentioned above. When I log in as this user, clicking on 'Individual records' always gives me an error 'Access Denied'.

Please let me know if there is any specific user role/privilege which
controls this. I have to make all the users in my system as Superusers
because of this issue.


Thanks,
Sharada Acharya

** Affects: dhis2
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1250992

Title:
  Subset of user roles assigned to a user does not allow him to enter
  the data

Status in DHIS 2:
  New

Bug description:
  I created a user role with 90% of the privileges assigned to it except
  some unrelated privileges like, create user, create validation rule,
  SQL view etc. A user who has been assigned this user role is not being
  able to enter the data for different visits (like ANC First Visit).
  Also the user is not able to enroll a patient to any of the programs.
  Clicking on the 'Enroll' gives an error 'No programs available for
  enrollment.'. I verified that the programs do exist in the system and
  the user has access to it.

  I am using DHIS Live 2.11. I tested this bug on DHIS 2.13 here -
  http://apps.dhis2.org/demo/dhis-web-commons/security/login.action

  This could be the potential bug in DHIS 2.13 as well, unless I am doing something wrong while creating a user role.
  I tried creating a user role and gave almost all the privileges to it except the ones mentioned above. When I log in as this user, clicking on 'Individual records' always gives me an error 'Access Denied'.

  Please let me know if there is any specific user role/privilege which
  controls this. I have to make all the users in my system as Superusers
  because of this issue.


  Thanks,
  Sharada Acharya

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1250992/+subscriptions


Follow ups

References