Skip to main content

Module mz_acl_item

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§

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

Functions§

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