Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
n8stowell82 authored Aug 7, 2019
1 parent 9858668 commit 5ad734b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ It is pretty unlikely that we'd want a user to be able to submit a PATCH that lo
[{"op":"replace", "path": "/role", "value":"god-mode"}] //now I own everything!
```

This situation leaves it up to each server implementation to explicitly check patch paths and verify rules, which can be tedius. This project provides a propsed spec and a simple utility to declaratively define PATCH rules.
This situation leaves it up to each server implementation to explicitly check patch paths and verify rules, which can be tedius. This project provides a proposed spec and a simple utility to declaratively define PATCH rules.

## The Spec
A rule set is simply a JSON array of rule objects. A rule object is designed to be similar in structure to a JSON Patch operation object, and in its simplest form looks like:
Expand Down

0 comments on commit 5ad734b

Please sign in to comment.