User Roles
Goals
- The goal of this requirements page is to document the feature of User Roles and the associated user stories. User Roles is defined as enabling the administrator to create and manage roles so that new or existing users can be assigned roles that enable and restrict access.
- Scope: This feature includes stories on:
- Viewing existing roles and the rights assigned to them.
- Editing existing roles and the rights assigned to them.
- Creating a new role and assigning rights.
- Assigning a role to a user.
- Assigning a Supervision Role
- Home Facility
- Supervisory Node
- Assigning a Fulfillment Role (create stub - compare to 2190)
- Assigning an Admin Role
- Assigning a Reporting Role (create stub - compare to 2190)
- Assigning a Supervision Role
- Scope: This feature includes stories on:
Background
Version 2 used the following screens to manage the role assignment
View existing roles. Select "Add role"
then you see this screen to select rights for the role →
Then you assign roles to a user through the user profile screen :
role assignment happened for "Home Facility", "Supervisory", "Order Fulfillment", "Delivery Zones", "Admin and General Operations", "Custom Reports", "Report Viewing"
Assumptions
- The initial set of users and role assignments will happen during setup through a batch upload process
User Stories
| # | Title | User Story | Label | Importance | Notes | JIRA Tickets |
|---|---|---|---|---|---|---|
| 1 | View roles | As an administrator I need to view roles and rights so that I have an overview of existing roles. Acceptance Criteria:
| Must Have |
| OLMIS-2188 - Getting issue details... STATUS | |
| 2 | Edit roles | As an administrator I need to edit roles and rights so that I can configure roles for users. Acceptance Criteria:
| Must Have |
| OLMIS-2215 - Getting issue details... STATUS | |
| 3 | Create new roles | As an administrator I need to create new roles so that I can configure roles for users that do not fit the default roles. Acceptance Criteria:
| Nice to Have |
| OLMIS-2189 - Getting issue details... STATUS | |
| 4 | Assign roles to users | As an administrator I need to assign roles to users so that they can complete actions within the system based on their roles. Acceptance Criteria:
| Must Have |
| OLMIS-2190 - Getting issue details... STATUS | |
| 5 | Add/Edit Supervision roles | As an administrator I want to add or edit Supervision roles so that I can configure user roles. Acceptance Criteria:
| Must Have |
| OLMIS-2281 - Getting issue details... STATUS |
Diagrams
Admin can view existing roles (done)
Admin can create new roles (done)
Admin can assign roles to users (also enables supervision over multiple facilities) (in progress OLMIS-2190)
- need better flow for this scenario
Admin can assign/edit Supervision roles to a Home Facility (OLMIS-2281)
Admin can create new Supervisory Nodes
Open Questions
Below is a list of questions to be addressed as a result of this requirements document:
| Question | Outcome |
|---|---|
Out of Scope
- Delete existing roles
OpenLMIS: the global initiative for powerful LMIS software