Krikri::PluginHelpers::PostgresqlRoleFlags
PostgresqlRoleFlags - pure logic for parsing/rendering/comparing a
postgresql_user role_attr_flags: string. No I/O - postgresql_user.cr
does the actual CREATE/ALTER ROLE and pg_roles lookups.
Constants
FLAGS = ["LOGIN", "CREATEDB", "CREATEROLE", "SUPERUSER", "INHERIT", "REPLICATION", "BYPASSRLS"] of ::String
Class methods
The pg_roles column backing a given flag - verified against a real PostgreSQL 17 server's pg_roles view.
Parses "LOGIN,CREATEDB,NOSUPERUSER" (real Ansible's own role_attr_flags: format) into {"LOGIN" => true, "CREATEDB" => true, "SUPERUSER" => false}.