Skip to content

Commit

Permalink
Update views.sql
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
  • Loading branch information
adriangb committed Feb 3, 2024
1 parent 3bee5b1 commit d9015f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/views.sql
Expand Up @@ -325,9 +325,9 @@ WHERE
'MEMBER') IS TRUE
OR pg_catalog.pg_has_role(current_user, owner, 'MEMBER') IS TRUE;

GRANT SELECT ON ALL TABLES IN SCHEMA timescaledb_information TO PUBLIC;

-- View for viewing non-superuser passwords
CREATE OR REPLACE VIEW timescaledb_information.pg_authid
WITH (security_barrier = true) AS
SELECT * FROM pg_catalog.pg_authid WHERE rolsuper = 'false';

GRANT SELECT ON ALL TABLES IN SCHEMA timescaledb_information TO PUBLIC;

0 comments on commit d9015f3

Please sign in to comment.