Bug 1414 - Is not possible to remove all role-mappings of a user
* Able remove the project role mapping
Change-Id: I68ec168d18675434faf98b57a34183ac06cafb60
Signed-off-by: Barath Kumar R <barath.r@tataelxsi.co.in>
diff --git a/src/models/MenuModel.ts b/src/models/MenuModel.ts
index 0b49db8..deb9654 100644
--- a/src/models/MenuModel.ts
+++ b/src/models/MenuModel.ts
@@ -247,7 +247,7 @@
liClass: 'round-edge-bottom-3',
anchorTagClass: 'link round-edge-bottom-3 individual',
clickFunction: 'nosubmenu',
- routerLink: '/roles',
+ routerLink: '/roles/details',
routerLinkActive: ['parentactive'],
routerLinkActiveOptions: true,
icon: 'fas fa-user-tag',
diff --git a/src/models/UserModel.ts b/src/models/UserModel.ts
index 83dd08b..64626c8 100644
--- a/src/models/UserModel.ts
+++ b/src/models/UserModel.ts
@@ -42,6 +42,7 @@
/** Interface for user role mappings */
export interface UserRoleMap {
project_role_mappings?: ProjectRoleMappings[];
+ remove_project_role_mappings?: ProjectRoleMappings[];
}
/** Interface for Admin */