introduce separate database-schemas base+rbac #103
@ -110,7 +110,7 @@ end; $$;
|
|||||||
/*
|
/*
|
||||||
Returns the current user as defined by `base.defineContext(...)`.
|
Returns the current user as defined by `base.defineContext(...)`.
|
||||||
*/
|
*/
|
||||||
create or replace function base.currentSubject() -- FIXME: move to schema rbac?
|
create or replace function base.currentSubject()
|
||||||
returns varchar(63)
|
returns varchar(63)
|
||||||
stable -- leakproof
|
stable -- leakproof
|
||||||
language plpgsql as $$
|
language plpgsql as $$
|
||||||
|
Loading…
Reference in New Issue
Block a user