Axinom Mosaic Libraries
    Preparing search index...
    • Builds a pg settings object for the currently authenticated management subject. Used for RLS authentication in both PostGraphile and zapatos.

      Parameters

      • subject: PgAuthenticatedManagementSubject | undefined

        Currently authenticated management subject.

      • dbRole: string

        The database role to switch to

      • serviceId: string

        The serviceId of the current service

      Returns Dict<string>

    • Builds a pg settings object for the currently authenticated management subject. Excludes permissions and tags. Used for RLS authentication in both PostGraphile and zapatos.

      Parameters

      Returns Dict<string>