Commit f883a38d by zhangkb

打印用户数据权限日志

parent 45c51b11
......@@ -720,6 +720,7 @@ public class TagService {
String keyword,String modelPath,int pageNum,int pageSize,String tagType){
//获取用户关联的数据权限
Map<Long, Set<String>> systemTagMap = GrantedAuthHelper.getDataPrivileges();
logger.info("tag metadata user privilege:"+systemTagMap);
//调用repo接口获取标签关联的元数据
Map<String,Object> tagData = repoService.getPageByTag(systemTagMap, modelPath, idPath,
tagType, dimensionType, keyword, pageNum, pageSize);
......@@ -735,7 +736,6 @@ public class TagService {
if(content.isEmpty()) {
return tagData;
}else {
logger.info("tag metadata user privilege:"+systemTagMap);
if(systemTagMap.isEmpty()) {
tagData.put("content", new String[0]);
tagData.put("totalElements",0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment