We are using CAS Jasig authentication with Alfresco Community 5.0.b. When a non admin user try to make a search, the following error appears:
<blockcode>
An error inside the HTTP server which prevented it from fulfilling the request.
Message: 10070025 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js': 10070024 TypeError: Cannot read property "GROUP_ALFRESCO_ADMINISTRATORS" from undefined (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js#1661)
Exception: org.mozilla.javascript.EcmaError - TypeError: Cannot read property "GROUP_ALFRESCO_ADMINISTRATORS" from undefined (file:/C:/Alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/share/pages/faceted-search/faceted-search.get.js#1661)
</blockcode>