Fix #54 - getPermissionValue not checking default user

This commit is contained in:
Luck 2016-12-02 17:26:38 +00:00
parent b1ab857592
commit a063f7664d
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -42,8 +42,8 @@ public class DefaultsProcessor implements PermissionProcessor {
return t; return t;
} }
Tristate t2 = service.getDefaults().getPermissionValue(contexts, permission); t = service.getDefaults().getPermissionValue(contexts, permission);
if (t2 != Tristate.UNDEFINED) { if (t != Tristate.UNDEFINED) {
return t; return t;
} }