@steedos/standard-permission 2.3.2-beta.12 → 2.3.2-beta.14

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.
@@ -46,10 +46,6 @@ amis_schema: |-
46
46
  {
47
47
  "label": "默认关闭",
48
48
  "value": "off"
49
- },
50
- {
51
- "label": "隐藏选项卡",
52
- "value": "hidden"
53
49
  }
54
50
  ],
55
51
  "value": "on"
@@ -6,8 +6,8 @@ options:
6
6
  value: 'on'
7
7
  - label: 默认关闭
8
8
  value: 'off'
9
- - label: 隐藏选项卡
10
- value: 'hidden'
9
+ # - label: 隐藏选项卡
10
+ # value: 'hidden'
11
11
  defaultValue: 'on'
12
12
  required: true
13
13
  index: true
@@ -2,4 +2,4 @@ name: permission_tabs
2
2
  label: 选项卡权限
3
3
  icon: apps
4
4
  version: 2
5
- hidden: true
5
+ hidden: false
@@ -0,0 +1,14 @@
1
+ name: 选项卡权限.customer
2
+ allowCreate: false
3
+ allowCreateFiles: false
4
+ allowDelete: false
5
+ allowDeleteFiles: false
6
+ allowEdit: false
7
+ allowEditFiles: false
8
+ allowRead: true
9
+ allowReadFiles: true
10
+ modifyAllRecords: false
11
+ permission_set_id: customer
12
+ viewAllFiles: false
13
+ viewAllRecords: false
14
+ viewCompanyRecords: false
@@ -9,7 +9,7 @@
9
9
  // @ts-check
10
10
 
11
11
  const express = require("express");
12
- const router =require('@steedos/router').staticRouter()
12
+ const router = express.Router();
13
13
  const core = require('@steedos/core');
14
14
  const objectql = require('@steedos/objectql');
15
15
 
@@ -9,7 +9,7 @@
9
9
  // @ts-check
10
10
 
11
11
  const express = require("express");
12
- const router =require('@steedos/router').staticRouter()
12
+ const router = express.Router();
13
13
  const core = require('@steedos/core');
14
14
  const objectql = require('@steedos/objectql');
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-permission",
3
- "version": "2.3.2-beta.12",
3
+ "version": "2.3.2-beta.14",
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": "f738241842b61c66eae2b1fe7bf5c0bfb66348d6"
15
+ "gitHead": "bd6b097a9d70dc7e9dace4c1af400ba5e5f0748e"
16
16
  }