Merge pull request #14063 from backstage/fix-custom-rules-docs
docs: fix toQuery method in custom rules permissions docs
This commit is contained in:
@@ -30,7 +30,7 @@ export const isInSystemRule = createCatalogPermissionRule({
|
||||
},
|
||||
toQuery: (systemRef: string) => ({
|
||||
key: 'relations.partOf',
|
||||
value: systemRef,
|
||||
values: [systemRef],
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user