abyot / sun-pmt

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

User role definitions #50

Closed kreinhardt closed 7 years ago

kreinhardt commented 7 years ago

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 commented 7 years ago

just following up on this

abyot commented 7 years ago

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
  3. Data entry and viewing - All data viewing roles

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 commented 7 years ago

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

kreinhardt commented 7 years ago

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 commented 7 years ago

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.

kreinhardt commented 7 years ago

Great - thanks.

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

abyot commented 7 years ago

oh sorry, I thought I have fixed that.

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

kreinhardt commented 7 years ago

Ok! thanks

kreinhardt commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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?