File tree 2 files changed +4
-2
lines changed
plugins/user-management/components/UserManagement
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ export const STAT_JANS_READ = BASE_URL + '/config/stats.jans_stat.readonly'
89
89
90
90
export const USER_READ = BASE_URL + '/config/user.readonly'
91
91
export const USER_WRITE = BASE_URL + '/config/user.write'
92
+ export const USER_DELETE = BASE_URL + '/config/user.delete'
92
93
93
94
export const SESSION_READ = BASE_URL + '/jans-auth-server/session.readonly'
94
95
export const SESSION_DELETE = BASE_URL + '/jans-auth-server/session.delete'
Original file line number Diff line number Diff line change @@ -191,12 +191,13 @@ function UserList(props) {
191
191
dispatch ( getAttributesRoot ( { pattern :usedAttributes . toString ( ) , limit :100 } ) )
192
192
}
193
193
} , [ usersList ] )
194
-
194
+ console . log ( "USER READ" , USER_READ )
195
+ console . log ( "USER PERM" , permissions )
195
196
return (
196
197
< GluuLoader blocking = { loading } >
197
198
< Card style = { applicationStyle . mainCard } >
198
199
< CardBody >
199
- < GluuViewWrapper canShow = { hasPermission ( permissions , ROLE_READ ) } >
200
+ < GluuViewWrapper canShow = { hasPermission ( permissions , USER_READ ) } >
200
201
{ usersList . length > 0 && (
201
202
< MaterialTable
202
203
key = { limit }
You can’t perform that action at this time.
0 commit comments