Skip to content

Commit

Permalink
RANGER-4615 : Keep the LDAP usersync details popup names same as the …
Browse files Browse the repository at this point in the history
…backbone js names

Signed-off-by: Dineshkumar Yadav <[email protected]>
  • Loading branch information
fimugdha authored and dineshkumar-yadav committed Jan 4, 2024
1 parent dbac454 commit 271986e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
30 changes: 19 additions & 11 deletions security-admin/src/main/webapp/react-webapp/src/utils/XAEnums.js
Original file line number Diff line number Diff line change
Expand Up @@ -810,14 +810,22 @@ export const ServiceRequestDataRangerAcl = [
export const ServiceRequestDataHadoopAcl = [ServiceType.Service_HDFS.label];

export const UsersyncDetailsKeyDisplayMap = {
'unixBackend': 'Unix',
'fileName': 'File Name',
'syncTime': 'Sync time',
'lastModified': 'Last modified time',
'minUserId': 'Minimum user id',
'minGroupId': 'Minimum group id',
'totalUsersSynced': 'Total number of users synced',
'totalGroupsSynced': 'Total number of groups synced',
'totalUsersDeleted': 'Total number of users marked for delete',
'totalGroupsDeleted': 'Total number of groups marked for delete'
}
unixBackend: "Unix",
fileName: "File Name",
syncTime: "Sync time",
lastModified: "Last modified time",
minUserId: "Minimum user id",
minGroupId: "Minimum group id",
totalUsersSynced: "Total number of users synced",
totalGroupsSynced: "Total number of groups synced",
totalUsersDeleted: "Total number of users marked for delete",
totalGroupsDeleted: "Total number of groups marked for delete",
ldapUrl: "Ldap url",
isIncrementalSync: "Incremental sync",
userSearchEnabled: "User search enabled",
userSearchFilter: "User search filter",
groupSearchEnabled: "Group search enabled",
groupSearchFilter: "Group search filter",
groupSearchFirstEnabled: "Group search first enabled",
groupHierarchyLevel: "Group hierarchy level"
};
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ define(function(require) {
minGroupId : "Minimum group id",
userSearchFilter : 'User search filter',
groupSearchFilter : 'Group search filter',
userSearchEnabled : 'User search enabled',
groupSearchEnabled : 'Group search enabled',
groupSearchFirstEnabled : 'Group search first enabled',
startDate : 'Start Date',
endDate : 'End Date',
addValidityPeriod : ' Add Validity Period',
Expand Down

0 comments on commit 271986e

Please sign in to comment.