@steedos/standard-permission 2.5.18-beta.5 → 2.5.18-beta.6
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.
|
@@ -28,17 +28,17 @@ Creator.Objects['permission_set'].triggers = Object.assign({}, Creator.Objects['
|
|
|
28
28
|
if(!doc.license){
|
|
29
29
|
// throw new Meteor.Error(500, "请指定许可证");
|
|
30
30
|
}else{
|
|
31
|
-
if(_.indexOf(_.pluck(Steedos.getLicenseOptionsSync(doc.space), 'value'), doc.license) < 0){
|
|
32
|
-
|
|
33
|
-
}
|
|
31
|
+
// if(_.indexOf(_.pluck(Steedos.getLicenseOptionsSync(doc.space), 'value'), doc.license) < 0){
|
|
32
|
+
// throw new Meteor.Error(500, "无效的许可证");
|
|
33
|
+
// }
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
if(doc.license){
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
37
|
+
// if(doc.license){
|
|
38
|
+
// if(_.indexOf(_.pluck(Steedos.getLicenseOptionsSync(doc.space), 'value'), doc.license) < 0){
|
|
39
|
+
// throw new Meteor.Error(500, "无效的许可证");
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
42
42
|
|
|
43
43
|
if(doc.type === 'profile'){
|
|
44
44
|
delete doc.users
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-permission",
|
|
3
|
-
"version": "2.5.18-beta.
|
|
3
|
+
"version": "2.5.18-beta.6",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,5 +12,5 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"repository": {},
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"gitHead": "
|
|
15
|
+
"gitHead": "50a0f4cc2d0a9e46ec41350398dc4a49cd589b1d"
|
|
16
16
|
}
|