Merge pull request #9935 from backstage/blam/catalog-common-alpha

🧹 Some more permissions stuff to `@alpha` in `catalog-backend`
This commit is contained in:
Patrik Oldsberg
2022-03-03 13:17:39 +01:00
committed by GitHub
6 changed files with 6 additions and 6 deletions
@@ -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 hasMetadata = createPropertyRule('metadata');
@@ -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',