protected Collection<UserMonitor> getAccessibleUsers (Session session) {
if (securityService.hasRestrictedAccess(session)) {
return monitor.getUserMonitors();
} else {
UserMonitor um = monitor.getUserMonitor(session);
if (um == null) {
return Collections.emptyList();
} else {
return Collections.singletonList(um);
}