@steedos/standard-permission 2.5.11-beta.3 → 2.5.11-beta.5

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.
@@ -161,6 +161,6 @@ label: 设置选项卡权限
161
161
  'on': record_only
162
162
  type: amis_button
163
163
  visible: !!js/function |
164
- function (object_name, record_id, record_permissions, record) {
165
- return true;
164
+ function (object_name, record_id, record_permissions, data) {
165
+ return data.record.type === 'profile';
166
166
  }
@@ -25,8 +25,10 @@ fields:
25
25
  label: Type
26
26
  type: select
27
27
  firstOption: false
28
- options: Permission set:permission_set
28
+ options: Profile:profile,Permission set:permission_set
29
29
  defaultValue: permission_set
30
+ amis:
31
+ "disabledOn": "${global.mode !='read'}"
30
32
  assigned_apps:
31
33
  label: Assigned Apps
32
34
  type: lookup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-permission",
3
- "version": "2.5.11-beta.3",
3
+ "version": "2.5.11-beta.5",
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": "4033c7712d7f4cedad762f2bec9acae31c259ba3"
15
+ "gitHead": "a8be05854c064d6180e24a44711256b9cbc19e29"
16
16
  }