diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-11-26 21:41:59 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-11-26 22:53:16 +0300 |
commit | be9b6f68a60bec0cda4b905e9311a9076f778976 (patch) | |
tree | c7328a9358746ed01959c048f1bc1e3001b86ee4 /datafile.yml.example | |
parent | 33ab0b2f945b8f4995f77c3246eb3c3f1b9d6df4 (diff) | |
download | sproxy2-be9b6f68a60bec0cda4b905e9311a9076f778976.tar.gz |
Populate permission database from a file
Diffstat (limited to 'datafile.yml.example')
-rw-r--r-- | datafile.yml.example | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/datafile.yml.example b/datafile.yml.example new file mode 100644 index 0000000..85d88b9 --- /dev/null +++ b/datafile.yml.example @@ -0,0 +1,34 @@ +--- # Data file. Don't remove this line. This is YAML: https://en.wikipedia.org/wiki/YAML + +group_member: + - group: "devops" + email: "%" + + - group: "foo" + email: "%" + + +group_privilege: + - group: "foo" + domain: "example.com" + privilege: "full" + + - group: "devops" + domain: "example.com" + privilege: "full" + + +privilege_rule: + - domain: "example.com" + privilege: "full" + path: "%" + method: "GET" + + - domain: "example.com" + privilege: "full" + path: "%" + method: "POST" + + +... # End of data file. Don't remove this line. This is YAML: https://en.wikipedia.org/wiki/YAML + |