fixed: 后台数据权限bug

This commit is contained in:
none
2023-03-23 17:03:59 +08:00
parent fa5b25782f
commit 6c57a5f917
4 changed files with 13 additions and 2 deletions

View File

@@ -54,6 +54,9 @@ public class BackendBus {
}
public static String valueHidden(String permissionSlug, String type, String value) {
if (BCtx.isNull()) {//非后管环境返回原值
return value;
}
HashMap<String, Boolean> permissions = BCtx.getAdminPer();
if (permissions.get(permissionSlug) != null) {
return value;