Feature 10941: User Management Enhancements
- Added NG-UI support for user management enhancements
- It includes login history along with password expiry & account
expiry warnings, unlock & renew user for admin users
- Change password field for admin: visible at user actions field
Change password field for users: visible at header of UI
Change-Id: If952069b62efd6226b633b35b3634cf3f7848096
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/app/users/user-details/UserDetailsComponent.html b/src/app/users/user-details/UserDetailsComponent.html
index 9d11186..49661cb 100644
--- a/src/app/users/user-details/UserDetailsComponent.html
+++ b/src/app/users/user-details/UserDetailsComponent.html
@@ -26,6 +26,14 @@
</span>
</div>
<div class="row mt-2 mb-0 form-group justify-content-end list-utilites-actions">
+ <div *ngIf="isAdminShow" class="col-auto mr-auto">
+ <nav class="custom-items-config">
+ <span><i class="fas fa-user-check text-success"></i>{{userActive}}</span>
+ <span><i class="fas fa-user-lock text-danger"></i>{{userLocked}}</span>
+ <span><i class="fas fa-user-times text-warning"></i>{{userExpired}}</span>
+ <span><i class="fas fa-user-shield text-info"></i>{{userAlwaysActive}}</span>
+ </nav>
+ </div>
<page-per-row class="mr-2" (pagePerRow)="onChange($event)"></page-per-row>
<page-reload></page-reload>
</div>