• Builds a pg settings object for the currently authenticated management subject without role switching. Used for RLS authentication in both PostGraphile and zapatos.

    Parameters

    • subject: undefined | PgAuthenticatedManagementSubject

      Currently authenticated management subject.

    • Optional serviceId: string

      The serviceId of the current service

    Returns Dict<string>

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

    Parameters

    Returns Dict<string>

Generated using TypeDoc