Skip to main content
Version: Next

getDefaultOwnershipEntityRefs()

Home > @backstage/plugin-auth-backend > getDefaultOwnershipEntityRefs

Uses the default ownership resolution logic to return an array of entity refs that the provided entity claims ownership through.

A reference to the entity itself will also be included in the returned array.

Signature:

function getDefaultOwnershipEntityRefs(entity: Entity): string[];

Parameters

Parameter

Type

Description

entity

Entity

**Returns:**

string[]