Skip to main content

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

ParameterTypeDescription
entityEntity

Returns:

string[]