Signed-off-by: Joe Porpeglia <josephp@spotify.com>
This commit is contained in:
Joe Porpeglia
2022-03-22 20:11:20 -04:00
committed by Joe Porpeglia
parent 146ea2117b
commit 1e0dbd4fb5
@@ -31,6 +31,8 @@ import { useAsyncEntity } from './useEntity';
* @alpha
*/
export function useEntityPermission(
// TODO(joeporpeglia) Replace with `CatalogEntityPermission` when the issue described in
// https://github.com/backstage/backstage/pull/10128 is fixed.
permission: ResourcePermission<'catalog-entity'>,
): {
loading: boolean;