From 770e480f54a7d45e59fc81622afa448bbfc6165c Mon Sep 17 00:00:00 2001 From: Arnab Dutta Date: Wed, 2 Nov 2022 21:09:19 +0530 Subject: [PATCH] fix: use correct jans_stat permission #576 --- admin-ui/app/utils/PermChecker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-ui/app/utils/PermChecker.js b/admin-ui/app/utils/PermChecker.js index fb82f002e..0b34c2652 100644 --- a/admin-ui/app/utils/PermChecker.js +++ b/admin-ui/app/utils/PermChecker.js @@ -85,7 +85,7 @@ export const SQL_WRITE = BASE_URL + '/config/database/sql.write' export const SQL_DELETE = BASE_URL + '/config/database/sql.delete' export const STAT_READ = BASE_URL + '/config/stats.readonly' -export const STAT_JANS_READ = BASE_URL + '/config/stats.jans_stat.readonly' +export const STAT_JANS_READ = 'jans_stat' export const USER_READ = BASE_URL + '/config/user.readonly' export const USER_WRITE = BASE_URL + '/config/user.write'