dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37451
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 19160: minor fix
------------------------------------------------------------
revno: 19160
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-05-15 14:35:20 +0700
message:
minor fix
modified:
dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/acl/DefaultAclService.java
--
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-services/dhis-service-core/src/main/java/org/hisp/dhis/acl/DefaultAclService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/acl/DefaultAclService.java 2015-03-16 13:12:20 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/acl/DefaultAclService.java 2015-05-15 07:35:20 +0000
@@ -150,6 +150,7 @@
if ( haveOverrideAuthority( user )
|| UserGroup.class.isAssignableFrom( object.getClass() )
|| object.getUser() == null
+ || object.getPublicAccess() == null
|| user.equals( object.getUser() )
|| AccessStringHelper.canRead( object.getPublicAccess() ) )
{