Navigation

RulesΒΆ

Specify rules to provide control over the actions for a service.

  • Service rules can limit which service actions can be executed and how they can be executed.
  • Rules are written in a simple, declarative manner that maps to standard JSON.
    • Rules can use Expansions or Functions for increased flexibility.
    • Rules use familiar syntax from the MongoDB query language.
  • MongoDB rules can ensure the following at the document or field level:
    • Data can be read by a client or request (read).
    • Data can be written by a client or request(write).
    • Data is valid when it conforms to chosen guidelines (validation).

For details on the rules for specific service, see: