diff --git a/use-timescale/security/read-only-role.md b/use-timescale/security/read-only-role.md index d0b730c07a..fdfaa6f862 100644 --- a/use-timescale/security/read-only-role.md +++ b/use-timescale/security/read-only-role.md @@ -32,6 +32,12 @@ You can create a read-only user to provide limited access to your database. CREATE ROLE readaccess; ``` +1. Grant usage on the schema to allow access to objects within it: + + ```sql + GRANT USAGE ON SCHEMA TO readaccess; + ``` + 1. Grant the appropriate permissions for the role, as required. For example, to grant `SELECT` permissions to a specific table, use: