campingmontagut/revert/schema_public.sql
jordi fita mas 5d0861824a Add authentication relations, views, and functions for PostgreSQL
Most of them are exactly the same as we use for Numerus, but with the
main application schema changed to camper.

Closes #1
2023-07-22 01:59:12 +02:00

14 lines
318 B
PL/PgSQL

-- Revert camper:schema_public from pg
begin;
revoke usage on schema public from admin;
revoke usage on schema public from employee;
revoke usage on schema public from guest;
revoke usage on schema public from authenticator;
grant usage on schema public to public;
grant create on schema public to public;
commit;