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:
10
package.json
10
package.json
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user