KMP PHP API Reference

PostgresRuntimePrivileges
in package

FinalYes

Reconciles existing application roles to database-local DML privileges.

Table of Contents

Properties

$administrativeConnection  : Connection

Methods

__construct()  : mixed
reconcile()  : void

Properties

Methods

__construct()

public __construct(Connection $administrativeConnection) : mixed
Parameters
$administrativeConnection : Connection

Server/schema owner connection

reconcile()

public reconcile(string $database, string $runtimeRole[, string|null $password = null ][, array<int, string> $otherRuntimeRoles = [] ]) : void
Parameters
$database : string

Managed database

$runtimeRole : string

Non-owner runtime role

$password : string|null = null

Explicit default/platform password to create or rotate; null preserves tenant passwords

$otherRuntimeRoles : array<int, string> = []

Other managed roles whose stale grants must be removed

On this page

Search results