owl-cli 6.18.0 → 6.20.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.
@@ -95,30 +95,30 @@ function expandTablePermission(permissions) {
95
95
 
96
96
  for (var i = 0; i < permissions.length; i++) {
97
97
  var p = permissions[i];
98
- if(same_org.read!='denied' && p.same_org.read){
98
+ if(same_org.read!='denied' && p.same_org && p.same_org.read){
99
99
  same_org.read = p.same_org.read;
100
100
  }
101
- if(same_org.update!='denied' && p.same_org.update){
101
+ if(same_org.update!='denied' && p.same_org && p.same_org.update){
102
102
  same_org.update = p.same_org.update;
103
103
  }
104
- if(same_org.del!='denied' && p.same_org.del){
104
+ if(same_org.del!='denied' && p.same_org && p.same_org.del){
105
105
  same_org.del = p.same_org.del;
106
106
  }
107
- if(same_org.add!='denied' && p.same_org.add){
107
+ if(same_org.add!='denied' && p.same_org && p.same_org.add){
108
108
  same_org.add = p.same_org.add;
109
109
  }
110
110
 
111
111
 
112
- if(sub_org.read!='denied' && p.sub_org.read){
112
+ if(sub_org.read!='denied' && p.sub_org && p.sub_org.read){
113
113
  sub_org.read = p.sub_org.read;
114
114
  }
115
- if(sub_org.update!='denied' && p.sub_org.update){
115
+ if(sub_org.update!='denied' && p.sub_org && p.sub_org.update){
116
116
  sub_org.update = p.sub_org.update;
117
117
  }
118
- if(sub_org.del!='denied' && p.sub_org.del){
118
+ if(sub_org.del!='denied' && p.sub_org && p.sub_org.del){
119
119
  same_org.del = p.same_org.del;
120
120
  }
121
- if(sub_orgadd!='denied' && p.sub_org.add){
121
+ if(sub_orgadd!='denied' && p.sub_org && p.sub_org.add){
122
122
  sub_org.add = p.sub_org.add;
123
123
  }
124
124
  }
@@ -8,7 +8,7 @@
8
8
  //#import @handlers/include/checklogin.jsx
9
9
  //#import @handlers/include/diff.jsx
10
10
  (function(){
11
-
11
+ var spec = @spec;
12
12
  var env = checklogin();
13
13
  if(!env){
14
14
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.18.0",
3
+ "version": "6.20.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {