diff --git a/src/main/java/org/olat/modules/coach/site/CoachSiteDef.java b/src/main/java/org/olat/modules/coach/site/CoachSiteDef.java index f93c9a047ba4fd84c55ce1c7a862eb5deb91cdcb..327d422ce77ec7919f91e20d835d4a1e79a16d6a 100644 --- a/src/main/java/org/olat/modules/coach/site/CoachSiteDef.java +++ b/src/main/java/org/olat/modules/coach/site/CoachSiteDef.java @@ -47,7 +47,9 @@ public class CoachSiteDef extends AbstractSiteDefinition implements SiteDefiniti || (!ureq.getUserSession().getRoles().isGuestOnly() && !ureq.getUserSession().getRoles().isInvitee())) { CoachingService coachingService = CoreSpringFactory.getImpl(CoachingService.class); - if(coachingService.isCoach(ureq.getIdentity())) { + if(ureq.getUserSession().getRoles().isOLATAdmin() + || ureq.getUserSession().getRoles().isUserManager() + || coachingService.isCoach(ureq.getIdentity())) { return new CoachSite(this, ureq.getLocale()); } }