minor fixes, SEB Server Admin rights for reading foreign client
connections
This commit is contained in:
parent
7169fa0808
commit
cfb02143cf
2 changed files with 1 additions and 3 deletions
|
@ -197,7 +197,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
|||
// grants for SEB client connections
|
||||
addPrivilege(EntityType.CLIENT_CONNECTION)
|
||||
.forRole(UserRole.SEB_SERVER_ADMIN)
|
||||
.withInstitutionalPrivilege(PrivilegeType.READ)
|
||||
.withBasePrivilege(PrivilegeType.READ)
|
||||
.andForRole(UserRole.INSTITUTIONAL_ADMIN)
|
||||
.withInstitutionalPrivilege(PrivilegeType.READ)
|
||||
.andForRole(UserRole.EXAM_ADMIN)
|
||||
|
|
|
@ -114,8 +114,6 @@ public interface LmsAPIService {
|
|||
from == null || (q.startTime != null && (q.startTime.isEqual(from) || q.startTime.isAfter(from)));
|
||||
final DateTime endTime = now.isAfter(from) ? now : from;
|
||||
final boolean fromTimeFilter = (endTime == null || q.endTime == null || endTime.isBefore(q.endTime));
|
||||
System.out
|
||||
.println("************ name: " + name + " " + (nameFilter && (startTimeFilter || fromTimeFilter)));
|
||||
return nameFilter && (startTimeFilter || fromTimeFilter);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue