Typo in sql permissions
This commit is contained in:
parent
d72dd90351
commit
7b5866482e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user