Member Junction
    Preparing search index...
    ApplicationAccessFilter: (
        applicationId: string,
        defaultAccess: boolean,
        user: UserInfo,
    ) => boolean

    Optional filter that consuming projects can register to customize application access checks. Called by UserHasApplicationAccess() after the default global role check. The filter receives the result of the default check and can override it.

    Type Declaration

      • (applicationId: string, defaultAccess: boolean, user: UserInfo): boolean
      • Parameters

        • applicationId: string

          The application being checked

        • defaultAccess: boolean

          The result of the default global role check

        • user: UserInfo

          The current UserInfo (includes TenantContext if set by middleware)

        Returns boolean

        Whether the user should have access to the application