Expand description
Role definition loading and validation.
Loads role definitions from <root>/roles/ directory. Each .sql file
defines a single role with a required CREATE ROLE statement and optional
ALTER ROLE, GRANT ROLE, and COMMENT statements.
Structsยง
- Role
Definition ๐ - A parsed role definition from a
.sqlfile in theroles/directory.
Functionsยง
- classify_
role_ ๐statements - Classify parsed statements into a
RoleDefinition, returning validation errors. - load_
roles ๐ - Load all role definitions from
<root>/roles/.