Skip to content

Commit b09d416

Browse files
author
Luis Cameroon
committed
[Web] Add Admin > User management feature
1 parent 873322c commit b09d416

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2695
-1518
lines changed

App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import setupAxiosInterceptors from './src/App/shared/interceptors/axios.intercep
88
import initStore from './src/App/store';
99
// Screens
1010
import App from './src/App';
11-
import Dashboard from './src/App/features/Home/components/Dashboard';
11+
import Dashboard from './src/App/features/Home/containers/DashboardContainer';
1212

1313
const RootStack = StackNavigator(
1414
{

mockapi/data/db.json

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
"authenticate": {
1111
"id_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwicGFzc3dvcmQiOiJhZG1pbiIsImlhdCI6MTUzMTczMTA0NSwiZXhwIjoxNTMxNzM0NjQ1fQ.NgYp6HbPjzv1ihFnLJpxjovBkt-w6CLfibS92hJFAsA"
1212
},
13+
"authorities": [
14+
"ROLE_USER",
15+
"ROLE_ADMIN"
16+
],
1317
"account": {
1418
"id": 2,
1519
"login": "luis",

mockapi/routes.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"/api/*": "/$1",
33
"/management/*": "/$1",
4+
"/users/authorities": "/authorities",
45
"/:resource/:id/view": "/:resource/:id"
56
}

0 commit comments

Comments
 (0)