Typo in sql permissions

This commit is contained in:
Tom Russell 2018-10-21 20:47:44 +01:00
parent d72dd90351
commit 7b5866482e

View File

@ -29,7 +29,7 @@ Create an app user:
-- role for server-side of front end (HTTP POST) -- role for server-side of front end (HTTP POST)
CREATE ROLE appusername WITH LOGIN; CREATE ROLE appusername WITH LOGIN;
-- create/update, authenticate and authorise users -- create/update, authenticate and authorise users
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE users, user_sessons TO appusername; GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE users, user_sessions TO appusername;
-- join users against categories and access levels -- join users against categories and access levels
GRANT SELECT ON TABLE user_access_levels, user_categories TO appusername; GRANT SELECT ON TABLE user_access_levels, user_categories TO appusername;
-- read/write building data -- read/write building data