Rename uniqueIdentifier to universalIdentifier (#14201)

This commit is contained in:
Weiko
2025-09-01 12:33:59 +02:00
committed by GitHub
parent 58a38769bd
commit 80347b7b38
76 changed files with 556 additions and 552 deletions
@@ -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,
};
};
@@ -11,6 +11,6 @@ export const fromStandardRoleDefinitionToFlatRole = (
...standardRoleDefinition,
id: v4(),
workspaceId,
uniqueIdentifier: standardRoleDefinition.standardId || v4(),
universalIdentifier: standardRoleDefinition.standardId || v4(),
};
};