Merge pull request #1146 from emmanuelnnaa/MIFOSX-1671

commit for MIFOSX-1671 (User with 'ALL_FUNCTIONS_READ' permission does not have access to /users/{userId} resource)
This commit is contained in:
Vishwas Babu A J
2014-12-03 20:54:28 -08:00
@@ -489,7 +489,7 @@ public class AppUser extends AbstractPersistable<Long> implements PlatformUser {
// abstain from validation as user allowed fetch their own data no
// matter what permissions they have.
} else {
validateHasPermissionTo(function);
validateHasReadPermission(function);
}
}