Returns a React Router Route which only renders the element when authorized. If unauthorized, the Route will render a NotFoundErrorPage (see @backstage/core-app-api#AppComponents).
This component no longer works with the most recent version of @backstage/core-app-api and react-router v6, use RequirePermission instead.
@backstage/core-app-api
Returns a React Router Route which only renders the element when authorized. If unauthorized, the Route will render a NotFoundErrorPage (see @backstage/core-app-api#AppComponents).