dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15405
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5580: removed F_WEBAPI_READ requirement for webapi (for now, will be fixed in future release)
------------------------------------------------------------
revno: 5580
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-12-23 13:21:18 +0100
message:
removed F_WEBAPI_READ requirement for webapi (for now, will be fixed in future release)
modified:
dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2011-12-12 11:18:21 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/META-INF/dhis/security.xml 2011-12-23 12:21:18 +0000
@@ -35,8 +35,10 @@
<sec:intercept-url pattern="/dhis-web-commons/javascripts/**" filters="none" />
<sec:intercept-url pattern="/dhis-web-commons/css/**" filters="none" />
<sec:intercept-url pattern="/favicon.ico" filters="none" />
+<!--
<sec:intercept-url pattern="/api*" access="hasRole('F_WEBAPI_READ')" />
<sec:intercept-url pattern="/api/**" access="hasRole('F_WEBAPI_READ')" />
+-->
<sec:intercept-url pattern="/**" access="isAuthenticated()" />
<sec:custom-filter ref="automaticAccessFilter" before="LOGOUT_FILTER" />