hasPermission should return correctly for undefined permissions
This commit is contained in:
@@ -93,7 +93,7 @@ public class PermissibleBase implements Permissible {
|
||||
} else if (perm != null) {
|
||||
return perm.getDefault().getValue(isOp());
|
||||
} else {
|
||||
return false;
|
||||
return Permission.DEFAULT_PERMISSION.getValue(isOp());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user