TicketFlow.Access.Stores.Postgres
0.1.0-alpha.4.1
dotnet add package TicketFlow.Access.Stores.Postgres --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.Access.Stores.Postgres -Version 0.1.0-alpha.4.1
<PackageReference Include="TicketFlow.Access.Stores.Postgres" Version="0.1.0-alpha.4.1" />
<PackageVersion Include="TicketFlow.Access.Stores.Postgres" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.Access.Stores.Postgres" />
paket add TicketFlow.Access.Stores.Postgres --version 0.1.0-alpha.4.1
#r "nuget: TicketFlow.Access.Stores.Postgres, 0.1.0-alpha.4.1"
#:package TicketFlow.Access.Stores.Postgres@0.1.0-alpha.4.1
#addin nuget:?package=TicketFlow.Access.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.Access.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
TicketFlow.Access.Stores.Postgres
Durable PostgreSQL storage for TicketFlow access control. PostgresAccessStore implements IAccessRoleStore,
IAccessGrantStore, IAccessFieldPolicyStore and IAccessAuditSink over an application-owned NpgsqlDataSource.
- Explicit schema initialization:
await store.InitializeAsync()applies the append-only, checksummedPostgresAccessMigrations.CatalogthroughTicketFlow.Stores.Migrations.Postgresin the data source's current schema. Nothing is created implicitly. - Every key includes the full partition or workspace scope. Primary keys and indexes use fixed-size
tf_key_v1SHA-256 keys (identifiers can be 256 UTF-16 units each, beyond PostgreSQL's B-tree tuple limit as raw composite text); raw columns are also compared for exact identity. - Updates and deletes are compare-and-set on
revision; creates start at revision 1. Per-scope and per-subject capacity limits are checked under transaction-scoped advisory locks. - Grants persist explicit numeric discriminators (subject kind, scope level, effect, kind) and conditions use the versioned
AccessConditionCodecJSON. Rows of unknown format versions fail closed. PostgresAccessFilterTranslatorturns anAccessFilterinto a parameterized predicate over your table's scope, team, inbox, assignee, label and attribute columns with the same three-valued semantics. Untranslatable filters returnPostgresAccessFilterUntranslatable;OrDenyAll()substitutesFALSE, never allow-all.
await using var dataSource = NpgsqlDataSource.Create(connectionString);
services.AddTicketFlow().AddAccessControl().AddPostgresAccessStores(dataSource);
await new PostgresAccessStore(dataSource).InitializeAsync();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Npgsql (>= 10.0.3)
- TicketFlow.Access.Abstractions (>= 0.1.0-alpha.4.1)
- TicketFlow.Stores.Migrations.Postgres (>= 0.1.0-alpha.4.1)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on TicketFlow.Access.Stores.Postgres:
| Package | Downloads |
|---|---|
|
TicketFlow.Reporting.Stores.Postgres
Optional durable PostgreSQL reporting store for TicketFlow: revision-fenced projection state, immutable facts, exactly-once 15-minute rollup cells and Access-filtered aggregates, backlog counts and fact listings. |
|
|
TicketFlow.Sla.Stores.Postgres
Optional durable PostgreSQL SLA policy, per-conversation tracker and leased due-work timer storage for TicketFlow SLAs. |
|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
|
|
TicketFlow.Contacts.Stores.Postgres
Optional durable PostgreSQL contact, identity, attribute definition, merge, change outbox and audit storage for TicketFlow contacts. |
|
|
TicketFlow.Conversations.Stores.Postgres
Optional durable PostgreSQL conversation, timeline, message delivery, attribute definition and multi-consumer outbox storage for TicketFlow conversations. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 46 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 48 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 57 | 11/22/2026 |