/user/acl
The acl module provides access to the ACL table for all User API methods.
- Source
Requires
- module:pg
Methods
(inner) acl(q, arr)
The acl method will connect to pg pool and query the ACL with a provided query template. The /acl_table/
and /acl_schema/
in the query template will be replaced with values provided as PRIVATE
or PUBLIC
environment variable.
Parameters:
Name | Type | Description |
---|---|---|
q | string | Query template. |
arr | array | Parameters to be substrituted in query template. |
- Source