Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User role definitions #50

Closed
kreinhardt opened this issue Dec 16, 2016 · 12 comments
Closed

User role definitions #50

kreinhardt opened this issue Dec 16, 2016 · 12 comments
Assignees
Labels

Comments

@kreinhardt
Copy link
Collaborator

Hi @abyot - can you send me the user role definitions for the 3 roles your described (superuser, data entry and viewing, and just data viewing)?

@kreinhardt
Copy link
Collaborator Author

just following up on this

@abyot
Copy link
Owner

abyot commented Jan 2, 2017

Here are the three roles:

  1. Superuser is superuser :)

  2. Data viewing

  • See Data Visualizer module
  • See GIS module
  • See Pivot Table module
  • See Report module
  • See Dashboard integration module
  1. Data entry and viewing
    - All data viewing roles
  • Add/Update Data Value

  • Delete Data Value

  • See Dashboard integration module

  • See Data Entry module

  • See SUN PMT module

  • Add/Update Tracked Entity Data Value

  • Delete Tracked Entity Data Value

  • Add/Update Private Data Element Category Option

  • Add/Update Public Data Element Category Option

  • Add/Update Private Data Element Category

  • Add/Update Public Data Element Category

  • Add/Update Private Data Element Category Combo

  • Add/Update Public Data Element Category Combo

  • Add/Update Private Option Set

  • Add/Update Public Option Set

  • Access to all data sets and programs.

A modular approach to implement this is to create the three (actually two excluding the superuser) roles. Then for data entry and view users assign them both data view and data entry roles.

@kreinhardt
Copy link
Collaborator Author

Thanks for this. When creating the roles do I need to set the data sets and programs?

@kreinhardt
Copy link
Collaborator Author

And, for the last point about the modular approach - do you mean that I can create the data entry role without the data viewing aspects - then assign the two roles to the users with viewing and entry privileges?

@abyot
Copy link
Owner

abyot commented Jan 5, 2017

Yes, when creating the roles you need to assign data sets and programs.

Re: the modular approach: Yes, that way you can reuse the roles for other groups of users.

  • Data view can have only data view role
  • Data view and entry can have data view and data entry roles.

@kreinhardt
Copy link
Collaborator Author

Great - thanks.

For the data entry and viewing role - I can't find "see SUN PMT module" on the list.

@abyot
Copy link
Owner

abyot commented Jan 5, 2017

oh sorry, I thought I have fixed that.

User "M_dhis-web-action-mapping" for now. I will update the server later.

@kreinhardt
Copy link
Collaborator Author

Ok! thanks

@kreinhardt
Copy link
Collaborator Author

found it.

another question - I created a user with viewing privileges, however when I logged on as that user I was not able to see the dashboard that I had created as the admin. Why is this?

@abyot
Copy link
Owner

abyot commented Jan 5, 2017

oh yes, you need to share those dashboards (and dashboard items) to the user (through its user group and also orgunit).

click the gear icon on the dashboard

image

then you can choose for which users (belonging to a give org uni) to share your dashboard.

You can also go to Favorites (in the outputs module) and the share ... and decide for which user (through user group) to share

@abyot
Copy link
Owner

abyot commented Jan 5, 2017

alternatively you can also use the share button on the dashboard

image

Unlike the sharing of the entire selected dashboard for anyone from a given orgunit (the one you can do through the gear icon), the share button allows you to share based on user group.

@kreinhardt
Copy link
Collaborator Author

Great - thanks.

From the share button - I also just selected public view with login / can edit. It seemed to work for my demo user I created. But are there any issues or limitations that I should be aware of with this method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants