=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonUser.vm' --- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonUser.vm 2011-10-06 15:39:08 +0000 +++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ajax/jsonUser.vm 2011-11-23 20:45:01 +0000 @@ -12,7 +12,7 @@ #foreach( $unit in $user.organisationUnits ) { "name": "$!{unit.name}" }#if( $velocityCount < $size ),#end #end ], - #set( $size = ${userCredentials.userAuthorityGroups.size()} ) + #set( $size = ${user.userCredentials.userAuthorityGroups.size()} ) "roles": [ #foreach( $role in $user.userCredentials.userAuthorityGroups ) { "name": "$!{role.name}" }#if( $velocityCount < $size ),#end