From b706a8d728ad3b8932412a6fb6e32fac64bbefbe Mon Sep 17 00:00:00 2001 From: Joe Porpeglia Date: Thu, 28 Apr 2022 11:51:31 -0400 Subject: [PATCH] Add original note stating that permissions are already exported for the this tutorial Signed-off-by: Joe Porpeglia --- .../plugin-authors/02-adding-a-basic-permission-check.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/permission/plugin-authors/02-adding-a-basic-permission-check.md b/docs/permission/plugin-authors/02-adding-a-basic-permission-check.md index a670deb5ed..c73fe800b4 100644 --- a/docs/permission/plugin-authors/02-adding-a-basic-permission-check.md +++ b/docs/permission/plugin-authors/02-adding-a-basic-permission-check.md @@ -26,6 +26,8 @@ Let's navigate to the file `plugins/todo-list-common/src/permissions.ts` and add }); ``` +For this tutorial, we've automatically exported all permissions from this file (see `plugins/todo-list-common/src/index.ts`). + > Note: All permissions authorized by your plugin should be exported from a ["common-library" package](https://backstage.io/docs/local-dev/cli-build-system#package-roles). This allows Backstage integrators to reference them in frontend components and permission policies. ## Authorizing using the new permission