Opravená chyba ve vyhodnocování práv

multitenant
Josef Rokos 11 years ago
parent 42e0babcaa
commit 337000b3da

@ -41,11 +41,12 @@ public class IsspstPermissionEvaluator implements PermissionEvaluator {
private boolean evaluateGlobal(Service<?> service, String permission, List<Role> perms) {
String moduleId = "";
String perm = "";
String perm = permission;
for (Module m : Constants.MODULES) {
if (m.getServiceClass() != null && m.getServiceClass().isAssignableFrom(service.getClass())) {
moduleId = m.getId();
break;
}
}

Loading…
Cancel
Save