Rename uniqueIdentifier to universalIdentifier (#14201)
This commit is contained in:
+1
-1
@@ -16,6 +16,6 @@ export const fromRoleEntityToFlatRole = (role: RoleEntity): FlatRole => {
|
||||
canSoftDeleteAllObjectRecords: role.canSoftDeleteAllObjectRecords,
|
||||
canDestroyAllObjectRecords: role.canDestroyAllObjectRecords,
|
||||
workspaceId: role.workspaceId,
|
||||
uniqueIdentifier: role.standardId || role.id,
|
||||
universalIdentifier: role.standardId || role.id,
|
||||
};
|
||||
};
|
||||
|
||||
+1
-1
@@ -11,6 +11,6 @@ export const fromStandardRoleDefinitionToFlatRole = (
|
||||
...standardRoleDefinition,
|
||||
id: v4(),
|
||||
workspaceId,
|
||||
uniqueIdentifier: standardRoleDefinition.standardId || v4(),
|
||||
universalIdentifier: standardRoleDefinition.standardId || v4(),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user