diff --git a/src/Service/UserOrganizationAppService.php b/src/Service/UserOrganizationAppService.php index 41cb088..e384165 100644 --- a/src/Service/UserOrganizationAppService.php +++ b/src/Service/UserOrganizationAppService.php @@ -30,6 +30,9 @@ class UserOrganizationAppService $grouped = []; foreach ($userOrgApps as $uoa) { + if($uoa->getRole()->getName() === 'USER') { + continue; // Skip USER role + } $app = $uoa->getApplication(); $appId = $app->getId(); $roleEntity = $uoa->getRole();