assertNotNull( "Have userParameter", userParam);
userParam.setName("UserParam");
userParam.setValue("userValue");
userParam.setSecurity(userSecurity);
userPortletEntry.addParameter(userParam);
assertEquals( "Admin user customize access to admin parameter", true, JetspeedPortalAccessController.checkPermission( adminUser, new PortalResource( userPortletEntry, adminParam), JetspeedSecurity.PERMISSION_CUSTOMIZE));
assertEquals( "Turbine user customize access to admin parameter", false, JetspeedPortalAccessController.checkPermission( turbineUser, new PortalResource( userPortletEntry, adminParam), JetspeedSecurity.PERMISSION_CUSTOMIZE));
assertEquals( "Admin user customize access to admin parameter", true, JetspeedPortalAccessController.checkPermission( adminUser, new PortalResource( userPortletEntry, userParam), JetspeedSecurity.PERMISSION_CUSTOMIZE));
assertEquals( "Turbine user customize access to admin parameter", true, JetspeedPortalAccessController.checkPermission( turbineUser, new PortalResource( userPortletEntry, userParam), JetspeedSecurity.PERMISSION_CUSTOMIZE));
/*
RegistryEntry adminEntry = createRegistryEntry( ADMIN_PORTLET, "ST_01.admin");
RegistryEntry userEntry = createRegistryEntry( USER_PORTLET, "ST_01.user");
RegistryEntry allEntry = createRegistryEntry( ALL_PORTLET, "ST_01.all");