user role issue
This commit is contained in:
parent
6babd91d22
commit
ceb4fa8fb1
|
@ -13,7 +13,7 @@ export class ApiService {
|
||||||
|
|
||||||
public isSSO = false;
|
public isSSO = false;
|
||||||
public versionDeployement = false;
|
public versionDeployement = false;
|
||||||
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 10, 3))}-`+"01";
|
public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 11, 29))}-`+"01";
|
||||||
public static BASE_URL = '';
|
public static BASE_URL = '';
|
||||||
public base_url = '';
|
public base_url = '';
|
||||||
// public currentLink = '';
|
// public currentLink = '';
|
||||||
|
|
|
@ -184,8 +184,10 @@ export class UserRoleEntryComponent implements OnInit {
|
||||||
userRole.payrollTypeID = this._selectedPayrollTypeid;
|
userRole.payrollTypeID = this._selectedPayrollTypeid;
|
||||||
userRole.employeeID = u.employeeID;
|
userRole.employeeID = u.employeeID;
|
||||||
}
|
}
|
||||||
if (this._selectedRoleType == EnumRoleType.Admin)
|
if (this._selectedRoleType == EnumRoleType.Admin){
|
||||||
userRole.userID = u.id;
|
userRole.userID = u.id;
|
||||||
|
userRole.userRoleStatus = EnumAuthStatus.Active;
|
||||||
|
}
|
||||||
|
|
||||||
userRole.loginIDView = u.loginID;
|
userRole.loginIDView = u.loginID;
|
||||||
userRole.roleID = r;
|
userRole.roleID = r;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user