Exception: Parse::MongoDB::WriterRoleTooPermissive

Inherits:
StandardError
  • Object
show all
Defined in:
lib/parse/mongodb.rb

Overview

Error raised when configure_writer validates the connected role and finds privileges that exceed ‘createIndex`/`dropIndex` + reads. The writer connection is meant strictly for index management; any role granting `insert`, `update`, `remove`, `dropCollection`, etc. is rejected fail-closed.