egdb3_12_9
.reporter
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
intersect_user_perm_ou(context_ou bigint, staff_id bigint, perm_code text)
Parameters
Name
Type
Mode
context_ou
bigint
IN
staff_id
bigint
IN
perm_code
text
IN
Definition
SELECT CASE WHEN context_ou IN (SELECT * FROM permission.usr_has_perm_at_all(staff_id::INT, perm_code)) THEN TRUE ELSE FALSE END;