feat(REQ-2300):去除是否可见字段的字段及逻辑
This commit is contained in:
parent
346c951c48
commit
87714c8798
@ -103,9 +103,9 @@ public class DataPermissionResponseExecutor {
|
||||
ExamineDpColumnsResp.AttributePermissionBasicDTO basic = entry.getValue();
|
||||
if (dataNode.has(basic.getAttrCode())) {
|
||||
ObjectNode objectNode = (ObjectNode) dataNode;
|
||||
if (!ATTRIBUTE_ISUNMASKABLE.equals(basic.getIsUnmaskable())) {
|
||||
objectNode.remove(basic.getAttrCode());
|
||||
}
|
||||
// if (!ATTRIBUTE_ISUNMASKABLE.equals(basic.getIsUnmaskable())) {
|
||||
// objectNode.remove(basic.getAttrCode());
|
||||
// }
|
||||
if (Objects.nonNull(basic.getIsEditable())) {
|
||||
objectNode.put(ATTRIBUTE_ADD_ALLOW_EDIT_PREFIX + basic.getAttrCode(), ATTRIBUTE_ISEDITABLE.equals(basic.getIsEditable()));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user