diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-12-18 14:28:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-12-18 14:31:10 +0300 |
commit | c80b3f7579ba01fbc37fa7237c75091167c51dbf (patch) | |
tree | e8d7ef9ab622b2ba25152bde36265b907ce88737 | |
parent | 2fd0d8ccb75067e7ce71ecb5c663be3a2040cf28 (diff) | |
download | sproxy2-c80b3f7579ba01fbc37fa7237c75091167c51dbf.tar.gz |
sproxy.sql: updated example
SQL wildcards are no longer supported for HTTP methods
-rw-r--r-- | sproxy.sql | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -166,7 +166,10 @@ CREATE TABLE IF NOT EXISTS group_privilege ( INSERT INTO group_member ("group", email) VALUES ('dev', '%'); INSERT INTO privilege (domain, privilege) VALUES ('example.com', 'full'); INSERT INTO group_privilege ("group", domain, privilege) VALUES ('dev', 'example.com', 'full'); - INSERT INTO privilege_rule (domain, privilege, path, method) VALUES ('example.com', 'full', '%', '%'); + INSERT INTO privilege_rule (domain, privilege, path, method) VALUES ('example.com', 'full', '%', 'GET'); + INSERT INTO privilege_rule (domain, privilege, path, method) VALUES ('example.com', 'full', '%', 'HEAD'); + INSERT INTO privilege_rule (domain, privilege, path, method) VALUES ('example.com', 'full', '%', 'POST'); + INSERT INTO privilege_rule (domain, privilege, path, method) VALUES ('example.com', 'full', '%', 'PUT'); */ END; |