owl-cli 6.34.0 → 6.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -519,11 +519,12 @@ function getListPermissionFilter(tableId, roleId,orgId,userId, permissions){
519
519
  var filters = [];
520
520
  var excludeFilters = [];
521
521
 
522
- if(tp.same_org.read==='allowed' && tp.sub_org.read==='denied' && orgId!='0') {
522
+
523
+ if(tp.same_org.list==='allowed' && tp.sub_org.list==='denied' && orgId!='0') {
523
524
  //只能读取本组织的数据
524
525
  filters.push({"term": {"_orgId.keyword": orgId}});
525
526
  }
526
- else if(tp.same_org.read==='allowed' && tp.sub_org.read==='allowed'&& orgId!='0'){
527
+ else if(tp.same_org.list==='allowed' && tp.sub_org.list==='allowed' && orgId!='0'){
527
528
  filters.push({"term": {"_orgIds.keyword": orgId}});
528
529
  }
529
530
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.34.0",
3
+ "version": "6.35.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {