getUserWriteAccess method

bool getUserWriteAccess(
  1. ParseUser user
)

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

Implementation

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