chore: move some more things to alpha

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-03 10:39:39 +01:00
parent 42bccf5a8b
commit 11bf36fcbc
6 changed files with 10 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Moved some more permissions things in the `catalog-backend` to `@alpha`
@@ -21,7 +21,7 @@ import { createCatalogPermissionRule } from './util';
* A catalog {@link @backstage/plugin-permission-node#PermissionRule} which
* filters for the presence of an annotation on a given entity.
*
* @public
* @alpha
*/
export const hasAnnotation = createCatalogPermissionRule({
name: 'HAS_ANNOTATION',
@@ -20,7 +20,7 @@ import { createCatalogPermissionRule } from './util';
/**
* A catalog {@link @backstage/plugin-permission-node#PermissionRule} which
* filters for entities with a specified label in its metadata.
* @public
* @alpha
*/
export const hasLabel = createCatalogPermissionRule({
name: 'HAS_LABEL',
@@ -23,6 +23,6 @@ import { createPropertyRule } from './createPropertyRule';
*
* The key argument to the `apply` and `toQuery` methods can be nested, such as
* 'field.nestedfield'.
* @public
* @alpha
*/
export const hasSpec = createPropertyRule('spec');
@@ -20,7 +20,7 @@ import { createCatalogPermissionRule } from './util';
/**
* A catalog {@link @backstage/plugin-permission-node#PermissionRule} which
* filters for entities with a specified kind.
* @public
* @alpha
*/
export const isEntityKind = createCatalogPermissionRule({
name: 'IS_ENTITY_KIND',
@@ -21,7 +21,7 @@ import { createCatalogPermissionRule } from './util';
* A catalog {@link @backstage/plugin-permission-node#PermissionRule} which
* filters for entities with a specified owner.
*
* @public
* @alpha
*/
export const isEntityOwner = createCatalogPermissionRule({
name: 'IS_ENTITY_OWNER',