dc183b1786
This commit use the internal authorize endpoint along wiht ember-can to further restrict user access to certain UI features and navigational elements depending on the users ACL token |
||
---|---|---|
.. | ||
README.stories.mdx | ||
index.hbs |
README.stories.mdx
import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'; import { hbs } from 'ember-cli-htmlbars'; <Meta title="Components/AppError" /> # AppError <Canvas> <Story name="Basic" argTypes={{ status: { defaultValue: '404', control: { type: 'select', options: [ '404', '403', '500' ] } } }} >{(args) => ({ template: hbs`<AppError @error={{hash status=status}} />`, context: args })} </Story> </Canvas>