mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
Merge branch 'permission-vertical' of ssh://trac@sapsailing.com/home/trac/git into permission-vertical
This commit is contained in:
@@ -573,13 +573,7 @@ public class SecurityServiceImpl implements ReplicableSecurityService, ClearStat
|
||||
if (tenantOwner == null) {
|
||||
tenantOwner = getDefaultTenantForUser(userOwner);
|
||||
}
|
||||
// FIXME define what is expected behaviour
|
||||
// if (tenantOwner.contains(userOwner)) {
|
||||
tenantId = tenantOwner.getId();
|
||||
// } else {
|
||||
// throw new IllegalArgumentException("User is not part of Tenant Owner " + tenantOwner + " " +
|
||||
// userOwner);
|
||||
// }
|
||||
}
|
||||
|
||||
final String userOwnerName = userOwner == null ? null : userOwner.getName();
|
||||
|
||||
Reference in New Issue
Block a user