From c80b3f7579ba01fbc37fa7237c75091167c51dbf Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 18 Dec 2016 14:28:48 +0300 Subject: sproxy.sql: updated example SQL wildcards are no longer supported for HTTP methods --- sproxy.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sproxy.sql b/sproxy.sql index bd2a948..0e9f94c 100644 --- a/sproxy.sql +++ b/sproxy.sql @@ -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; -- cgit v1.2.3