From 1a54405cf1863753b2ffd629fe589d739d5f2ab4 Mon Sep 17 00:00:00 2001 From: j2blake Date: Fri, 6 Jan 2012 21:58:12 +0000 Subject: [PATCH] NIHVIVO-3523 Create the DisplayByRolePermission, so we can use the PermissionsPolicy instead of DisplayRestrictedDataByRoleLevelPolicy, and these display restrictions can be assigned to arbitrary PermissionSets. --- productMods/WEB-INF/resources/startup_listeners.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/productMods/WEB-INF/resources/startup_listeners.txt b/productMods/WEB-INF/resources/startup_listeners.txt index 0362c509..da4060cd 100644 --- a/productMods/WEB-INF/resources/startup_listeners.txt +++ b/productMods/WEB-INF/resources/startup_listeners.txt @@ -56,7 +56,8 @@ edu.cornell.mannlib.vitro.webapp.auth.policy.RestrictHomeMenuItemEditingPolicy$S # Add VIVO specific DocumentModifers, this must come before SolrSetup edu.cornell.mannlib.vitro.webapp.search.solr.VivoDocumentModifiers -# The Solr index uses a "public" filter, so the PropertyRestrictionPolicyHelper must already be set up. +# The Solr index uses a "public" permission, so the PropertyRestrictionPolicyHelper +# and the PermissionRegistry must already be set up. edu.cornell.mannlib.vitro.webapp.search.solr.SolrSetup edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerSetup @@ -64,6 +65,8 @@ edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerSetup # On shutdown, this will kill the background thread started by Apache Commons File Upload org.apache.commons.fileupload.servlet.FileCleanerCleanup +# The VClassGroupCache index uses a "public" permission, so the PropertyRestrictionPolicyHelper +# and the PermissionRegistry must already be set up. edu.cornell.mannlib.vitro.webapp.dao.jena.VClassGroupCache$Setup # This should be near the end, because it will issue a warning if the connection to Solr times out.