diff --git a/molgenis-web/src/main/java/org/molgenis/web/PluginInterceptor.java b/molgenis-web/src/main/java/org/molgenis/web/PluginInterceptor.java
index <HASH>..<HASH> 100644
--- a/molgenis-web/src/main/java/org/molgenis/web/PluginInterceptor.java
+++ b/molgenis-web/src/main/java/org/molgenis/web/PluginInterceptor.java
@@ -58,19 +58,19 @@ public class PluginInterceptor extends HandlerInterceptorAdapter
 			}
 
 			Entity pluginSettings = molgenisPlugin.getPluginSettings();
-			Boolean pluginSettingsCanWrite;
+			boolean pluginSettingsCanWrite;
 			if (pluginSettings != null)
 			{
 				String pluginSettingsEntityName = pluginSettings.getEntityType().getId();
 				pluginSettingsCanWrite = permissionService.hasPermissionOnEntityType(pluginSettingsEntityName,
 						Permission.WRITE);
+				modelAndView.addObject(PluginAttributes.KEY_PLUGIN_SETTINGS, pluginSettings);
 			}
 			else
 			{
-				pluginSettingsCanWrite = null;
+				pluginSettingsCanWrite = false;
 			}
 
-			modelAndView.addObject(PluginAttributes.KEY_PLUGIN_SETTINGS, pluginSettings);
 			modelAndView.addObject(PluginAttributes.KEY_PLUGIN_SETTINGS_CAN_WRITE, pluginSettingsCanWrite);
 			modelAndView.addObject(PluginAttributes.KEY_MOLGENIS_UI, molgenisUi);
 			modelAndView.addObject(PluginAttributes.KEY_AUTHENTICATED, SecurityUtils.currentUserIsAuthenticated());
Fix high prio FindBugs warnings