We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f173652 commit b67139bCopy full SHA for b67139b
1 file changed
packages/modules/iam-user/src/lib/models/user-access-assignment.mapper.ts
@@ -30,8 +30,8 @@ export function mapRoleAssociationsToAccessAssignments(
30
export function mapRoleAssociationToAccessAssignmentVm(
31
association: RoleAssociation
32
): UserAccessAssignmentVm {
33
- const scopeEntity = getScopeEntity(association.attributes);
34
- const scopeInstance = getScopeInstance(association.attributes);
+ const scopeEntity = getScopeEntity(association.attributes || []);
+ const scopeInstance = getScopeInstance(association.attributes || []);
35
const scopeType = getScopeTypeFromEntity(scopeEntity);
36
37
const isSystem = isSystemAssignment(association);
0 commit comments