setReadAccess method
Set whether the given user id is allowed to read this object.
Implementation
void setReadAccess({required String userId, bool allowed = true}) {
final bool writePermission = getWriteAccess(userId: userId);
_setPermissionsIfNonEmpty(
userId: userId,
readPermission: allowed,
writePermission: writePermission);
}