tipus/revert/schema_public.sql
jordi fita mas 301195efac 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 tipus.
2023-06-04 22:45:44 +02:00

13 lines
300 B
PL/PgSQL

-- Revert tipus:schema_public from pg
begin;
alter default privileges grant execute on functions to public;
revoke usage on schema public from authenticator;
revoke usage on schema public from admin;
revoke usage on schema public from publisher;
revoke usage on schema public from guest;
commit;