Project

General

Profile

Actions

Activity #3135

closed

Feature #64: DigiPatho App -- Development, Validation, Certification and Deployment of App

Module #801: Login Screen

Develop to implement a role wise workflow for app

Added by Thara S Pillai almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Start date:
10/21/2024
Due date:
% Done:

100%

Estimated time:
Planned Due Date:
05/20/2025
Actions #1

Updated by Chris Elsa John over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #2

Updated by Thara S Pillai about 1 year ago

  • Status changed from Resolved to In Progress
  • % Done changed from 100 to 50
  • Planned Due Date changed from 10/25/2024 to 05/20/2025

Modify to handle multiple roles assigned to the user.
final userRoles = ["admin", "nurse"];

final roleFeatureMap = {
"admin": ["F1", "F2", "F3", "F4", "F5", "F6"],
"nurse": ["F1", "F4", "F5"],
"pathologist": ["F1", "F6", "F7"]
};

Get de-duplicated list of features for multi-role users.
May use Set<String> which automatically eliminates duplicates

final Set<String> userFeatures = {};

for (final role in userRoles) {
if (roleFeatureMap.containsKey(role)) {
userFeatures.addAll(roleFeatureMap[role]!);
}
}

Actions #3

Updated by Chris Elsa John about 1 year ago

  • Status changed from In Progress to Resolved
  • % Done changed from 50 to 100
Actions #4

Updated by Thara S Pillai about 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF