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

Include driver role.

parent 3f0b421b
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.
export enum Roles {
/** Website visitor, is not logged. Can access to NonAuthRoutes */
visitor = '',
/** Can access to private and restricted routes depending on their permissions level. */
/** Can access to routes wrapped by withAuthorization. */
senior = 'senior',
admin = 'admin',
operator = 'operator',
driver = '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