@@ -3,6 +3,7 @@ import ReportPage from './components/Reports/ReportPage'
3
3
import LicenseDetailsPage from './components/Configuration/LicenseDetailsPage'
4
4
import UiRoleListPage from './components/Roles/UiRoleListPage'
5
5
import UiPermListPage from './components/Permissions/UiPermListPage'
6
+ import RoleMappingPage from './components/Mapping/RoleMappingPage'
6
7
import MonthlyActiveUsersPage from './components/MonthlyActiveUsersPage'
7
8
import ScriptListPage from './components/CustomScripts/ScriptListPage'
8
9
import CustomScriptAddPage from './components/CustomScripts/CustomScriptAddPage'
@@ -14,12 +15,14 @@ import scriptSaga from './redux/sagas/CustomScriptSaga'
14
15
import licenseDetailsSaga from './redux/sagas/LicenseDetailsSaga'
15
16
import apiRoleSaga from './redux/sagas/ApiRoleSaga'
16
17
import apiPermissionSaga from './redux/sagas/ApiPermissionSaga'
18
+ import roleMappingSaga from './redux/sagas/RoleMappingSaga'
17
19
18
20
import mauReducer from './redux/reducers/MauReducer'
19
21
import scriptReducer from './redux/reducers/CustomScriptReducer'
20
22
import apiRoleReducer from './redux/reducers/ApiRoleReducer'
21
23
import apiPermissionReducer from './redux/reducers/ApiPermissionReducer'
22
24
import licenseDetailsReducer from './redux/reducers/LicenseDetailsReducer'
25
+ import apiMappingReducer from './redux/reducers/ApiMappingReducer'
23
26
import {
24
27
ACR_READ ,
25
28
ROLE_READ ,
@@ -106,9 +109,9 @@ const pluginMetadata = {
106
109
permission : PERMISSION_READ ,
107
110
} ,
108
111
{
109
- component : UiRoleListPage ,
112
+ component : RoleMappingPage ,
110
113
path : PLUGIN_BASE_APTH + '/mapping' ,
111
- permission : '/config/acrs.readonly' ,
114
+ permission : PERMISSION_READ ,
112
115
} ,
113
116
{
114
117
component : ScriptListPage ,
@@ -142,13 +145,15 @@ const pluginMetadata = {
142
145
{ name : 'apiRoleReducer' , reducer : apiRoleReducer } ,
143
146
{ name : 'apiPermissionReducer' , reducer : apiPermissionReducer } ,
144
147
{ name : 'licenseDetailsReducer' , reducer : licenseDetailsReducer } ,
148
+ { name : 'apiMappingReducer' , reducer : apiMappingReducer } ,
145
149
] ,
146
150
sagas : [
147
151
mauSaga ( ) ,
148
152
scriptSaga ( ) ,
149
153
licenseDetailsSaga ( ) ,
150
154
apiRoleSaga ( ) ,
151
155
apiPermissionSaga ( ) ,
156
+ roleMappingSaga ( ) ,
152
157
] ,
153
158
}
154
159
0 commit comments