PostgresRoleDefinition

Classes > Nimblesite.DataProvider.Migration.Core > PostgresRoleDefinition

PostgreSQL role definition for migration-managed application roles. Implements [RLS-PG-SUPPORT-DDL].

public sealed record PostgresRoleDefinition : IEquatable<PostgresRoleDefinition>

Properties

Name

public string Name { get; init; }

Role name.

Login

public bool Login { get; init; }

Whether the role can log in directly.

BypassRls

public bool BypassRls { get; init; }

Whether the role can bypass row-level security.

GrantTo

public IReadOnlyList<string> GrantTo { get; init; }

Roles or users that receive membership in this role.