Created
September 22, 2019 06:12
-
-
Save tarun-nagpal-github/2ed04e803e3c39ac684325ef4650196f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"user": { | |
"firstName": "Bob", | |
"lastName": "Marley", | |
"email": "bob@yahoo.com", | |
"Pages": [ | |
{ | |
"path": "/dashboard", | |
"name": "Dashboard", | |
"icon": "pe-7s-graph", | |
"component": "Dashboard", | |
"layout": "/admin", | |
"moduleId": 4, | |
"modulePageId": 11, | |
"actions": [ | |
{ | |
"actionId": 32, | |
"actionUrl": "capacity", | |
"action": "Capacity", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 33, | |
"actionUrl": "revenue", | |
"action": "Revenue", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 34, | |
"actionUrl": "errors", | |
"action": "Errors", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 35, | |
"actionUrl": "followers", | |
"action": "Followers", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 36, | |
"actionUrl": "users_behavior", | |
"action": "Users Behavior", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 37, | |
"actionUrl": "email_statistics", | |
"action": "Email Statistics", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 38, | |
"actionUrl": "sales", | |
"action": "Sales", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 39, | |
"actionUrl": "tasks", | |
"action": "Tasks", | |
"roleIsActive": true | |
} | |
] | |
}, | |
{ | |
"path": "/table", | |
"name": "Roles", | |
"icon": "pe-7s-note2", | |
"component": "TableList", | |
"layout": "/admin", | |
"actions": [ | |
{ | |
"actionId": 2, | |
"actionUrl": "create-role", | |
"action": "Create Role", | |
"roleIsActive": true | |
}, | |
{ | |
"actionId": 2, | |
"actionUrl": "delete-role", | |
"action": "Delete Role", | |
"roleIsActive": true | |
} | |
] | |
}, | |
{ | |
"moduleId": 4, | |
"path": "/users-list", | |
"name": "Users", | |
"icon": "pe-7s-user", | |
"component": "TableList2", | |
"layout": "/admin", | |
"actions": [ | |
{ | |
"actionId": 1, | |
"actionUrl": "create-user", | |
"action": "create-user", | |
"roleIsActive": true | |
} | |
] | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment