CEC-2977 Filter portal access based on auth provider (#231)

* fix/fleet-vehicles-search

* fix/fleet-name-update

* Update hasRole logic, create RoleWrap component

* Add MAGNA and MAGNAGROUP env vars

* Add Permissions

Co-authored-by: jwu-fisker <jwu@fiskerinc.com>
This commit is contained in:
arpanetus
2022-11-09 06:46:33 +06:00
committed by GitHub
parent 94950d583e
commit f2f046968e
76 changed files with 1321 additions and 917 deletions

View File

@@ -32,7 +32,8 @@
"react-router-hash-link": "^2.4.3",
"react-scripts": "5.0.0",
"usehooks-ts": "^2.7.1",
"web-vitals": "^2.1.4"
"web-vitals": "^2.1.4",
"webpack": "^5.74.0"
},
"scripts": {
"start": "env-cmd -f .env.local react-scripts start",
@@ -51,7 +52,10 @@
"extends": [
"react-app",
"react-app/jest"
]
],
"rules": {
"no-console": "warn"
}
},
"browserslist": [
">0.2%",
@@ -82,4 +86,4 @@
"lcov"
]
}
}
}