@steedos/standard-object-database 2.6.6-beta.4 → 2.6.6-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.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
standard_newVisible: function (object_name, record_id, permission, data) {
|
|
3
|
+
if(!Creator.isSpaceAdmin()){
|
|
4
|
+
return false
|
|
5
|
+
}
|
|
6
|
+
var record = data && data.record;
|
|
7
|
+
if(!record){
|
|
8
|
+
record = Creator.odata.get("objects", record_id, "is_deleted");
|
|
9
|
+
}
|
|
10
|
+
return record && record.created;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -19,7 +19,7 @@ module.exports = {
|
|
|
19
19
|
record = Creator.odata.get("objects", record_id, "is_deleted");
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
if (record && !record.is_deleted && record.name != 'users') {
|
|
22
|
+
if (record && !record.is_deleted && record.name != 'users' && record.created) {
|
|
23
23
|
return true;
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
],
|
|
181
181
|
"id": "u:6a3b45d7adcf",
|
|
182
182
|
"tabsMode": "vertical",
|
|
183
|
-
"className": "object-detail-tabs
|
|
183
|
+
"className": "object-detail-tabs bg-white m-0 mt-2 border-y",
|
|
184
184
|
"toolbarClassName": "",
|
|
185
185
|
"linksClassName": "",
|
|
186
186
|
"contentClassName": "bg-white",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.6.6-beta.
|
|
3
|
+
"version": "2.6.6-beta.6",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"description": "steedos package",
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@steedos-widgets/amis-lib": "^1.0.22",
|
|
15
|
-
"@steedos/standard-objects": "2.6.6-beta.
|
|
15
|
+
"@steedos/standard-objects": "2.6.6-beta.6"
|
|
16
16
|
},
|
|
17
17
|
"repository": {},
|
|
18
18
|
"license": "MIT",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "d15840851c7b43a2911874c5cfd4a9a3a9f140a4"
|
|
20
20
|
}
|