Skip to content
Snippets Groups Projects
Verified Commit bfff3efe authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Role for dashboard.

parent 8795032e
No related branches found
No related tags found
3 merge requests!56Refined auth flow and new website pages.,!53Feature/authorization/curry,!52Change folder structure and fix auth flow.
Pipeline #12400 canceled
......@@ -39,7 +39,12 @@ export const App: FC = () => {
path={AuthRoutes.dashboard}
render={() => (
<Personal
allowedRoles={['admin', 'driver', 'senior', 'operator']}
allowedRoles={[
Roles.admin,
Roles.operator,
Roles.senior,
Roles.driver,
]}
/>
)}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment