Skip to content

Commit 1be62e9

Browse files
authored
Merge pull request #75 from GeoNode/gs2.27.x-rest-acl
Allow non-admins to request GS REST APIs
2 parents ecf1350 + a6ce2d3 commit 1be62e9

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docker/geoserver/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ RUN cd /usr/local/tomcat/webapps \
2828
&& rm geoserver.war \
2929
&& mkdir -p $GEOSERVER_DATA_DIR
3030

31+
COPY applicationContext.xml /usr/local/tomcat/webapps/geoserver/WEB-INF/classes/applicationContext.xml
32+
3133
VOLUME $GEOSERVER_DATA_DIR
3234

3335
# copy the script and perform the run of scripts from entrypoint.sh
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3+
4+
<beans>
5+
<bean id="SldXmlReaderExclusionFilter" class="org.geoserver.platform.ClassExclusionFilter">
6+
<property name="beanClass" value="org.geoserver.rest.catalog.AdminRequestCallback" />
7+
</bean>
8+
</beans>

0 commit comments

Comments
 (0)