Module mz_acl_item

Source
Expand description

A Materialize specific access control list abstract data type.

Structsยง

AclItem
A list of privileges granted to a role.
AclMode
A bit flag representing all the privileges that can be granted to a role.
MzAclItem
A list of privileges granted to a role in Materialize.
PackedAclItem
An encoded packed variant of AclItem.
PackedMzAclItem
An encoded packed variant of MzAclItem.
PrivilegeMap
A container of MzAclItems that is optimized to look up an MzAclItem by the grantee.
ProtoAclItem
ProtoAclMode
ProtoMzAclItem

Constantsยง

CREATE_CHAR ๐Ÿ”’
CREATE_CLUSTER_CHAR ๐Ÿ”’
CREATE_CLUSTER_STR ๐Ÿ”’
CREATE_DB_CHAR ๐Ÿ”’
CREATE_DB_STR ๐Ÿ”’
CREATE_NETWORK_POLICY_CHAR ๐Ÿ”’
CREATE_NETWORK_POLICY_STR ๐Ÿ”’
CREATE_ROLE_CHAR ๐Ÿ”’
CREATE_ROLE_STR ๐Ÿ”’
CREATE_STR ๐Ÿ”’
DELETE_CHAR ๐Ÿ”’
DELETE_STR ๐Ÿ”’
INSERT_CHAR ๐Ÿ”’
INSERT_STR ๐Ÿ”’
PUBLIC_ROLE_OID
The OID used to represent the PUBLIC role. See: https://github.com/postgres/postgres/blob/29a0ccbce97978e5d65b8f96c85a00611bb403c4/src/include/utils/acl.h#L46
SELECT_CHAR ๐Ÿ”’
SELECT_STR ๐Ÿ”’
UPDATE_CHAR ๐Ÿ”’
UPDATE_STR ๐Ÿ”’
USAGE_CHAR ๐Ÿ”’
USAGE_STR ๐Ÿ”’

Functionsยง

merge_mz_acl_items
Combines all MzAclItems that have the same grantee and grantor.