Add original note stating that permissions are already exported for the this tutorial

Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
Joe Porpeglia
2022-04-28 11:51:31 -04:00
committed by Joon Park
parent d039fb44a7
commit b706a8d728
@@ -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