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/models/CommonModel.ts b/src/models/CommonModel.ts
index ed35029..abf0cb6 100644
--- a/src/models/CommonModel.ts
+++ b/src/models/CommonModel.ts
@@ -73,7 +73,11 @@
k8OperationalStateStateSecondStep = 'ENABLED',
k8OperationalStateThirdStep = 'ERROR',
done = 'done',
- close = 'close'
+ close = 'close',
+ userActive = 'active',
+ userLocked = 'locked',
+ userExpired = 'expired',
+ userAlwaysActive = 'always-active'
}
/** Interface for Post options */
export interface POSTAPIRESOURCE {
@@ -342,3 +346,9 @@
label: string;
value: string;
}
+/** Interface for Login */
+export interface UNLOCKPARAMS {
+ system_admin_id?: string;
+ unlock?: boolean;
+ renew?: boolean;
+}