Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dashboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
red-giant
dashboard
Commits
8795032e
Verified
Commit
8795032e
authored
3 years ago
by
Defendi Alberto
Browse files
Options
Downloads
Patches
Plain Diff
Include driver role.
parent
3f0b421b
No related branches found
No related tags found
3 merge requests
!56
Refined auth flow and new website pages.
,
!53
Feature/authorization/curry
,
!52
Change folder structure and fix auth flow.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/api/userRoles.ts
+2
-1
2 additions, 1 deletion
src/api/userRoles.ts
with
2 additions
and
1 deletion
src/api/userRoles.ts
+
2
−
1
View file @
8795032e
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
'
,
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment