@resistdesign/voltra
    Preparing search index...

    Function getResourceAccessByDACRole

    • Get the access to a given resource for a given DAC role.

      Parameters

      • fullResourcePath: LiteralValue[]

        Full resource path to test against the role's constraints.

      • role: DACRole

        Role to evaluate for access on the given resource path.

      • getDACRoleById: (id: string) => Promise<DACRole>

        Lookup helper used to resolve child roles by id.

      • OptionaldacRoleCache: Record<string, DACRole>

        Optional cache to reuse resolved roles across calls.

      Returns Promise<DACAccessResult>

      Allow/deny summary for the resource path.