getUserReadAccess method

bool getUserReadAccess(
  1. ParseUser user
)

Get whether the given user is explicitly allowed to read this object. Even if this returns false, the user may still be able to access it if publicReadAccess returns true or a role that the user belongs to has read access.

Implementation

bool getUserReadAccess(ParseUser user) {
  _validateUserState(user);
  return _map[user.objectId]?.read ?? false;
}