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

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.
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  customize: function (object_name, record_id, fields) {
3
3
  var doc = Creator.odata.get(object_name, record_id)
4
- Creator.odata.insert(object_name, {name: doc.name, label: doc.label, type: doc.type, license: doc.license}, function(result, error){
4
+ Creator.odata.insert(object_name, {name: doc.name, label: doc.label, type: doc.type, license: doc.license, lockout_interval: doc.lockout_interval, max_login_attempts: doc.max_login_attempts, password_history: doc.password_history}, function(result, error){
5
5
  if(result){
6
6
  FlowRouter.go(`/app/-/${object_name}/view/${result._id}`)
7
7
  }
@@ -89,7 +89,7 @@ fields:
89
89
  }
90
90
  return options;
91
91
  }
92
- defaultValue: '3'
92
+ defaultValue: "3"
93
93
  visible_on: "{{'profile' === formData.type ? true: false}}"
94
94
  max_login_attempts:
95
95
  type: select
@@ -106,7 +106,7 @@ fields:
106
106
  value: '10'
107
107
  - label: '无限制'
108
108
  value: '0'
109
- defaultValue: '10'
109
+ defaultValue: "10"
110
110
  visible_on: "{{'profile' === formData.type ? true: false}}"
111
111
  lockout_interval:
112
112
  type: select
@@ -123,7 +123,7 @@ fields:
123
123
  value: '60'
124
124
  - label: '始终(必须由管理员重置)'
125
125
  value: '0'
126
- defaultValue: '15'
126
+ defaultValue: "15"
127
127
  visible_on: "{{'profile' === formData.type ? true: false}}"
128
128
  enable_MFA:
129
129
  type: boolean
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/standard-permission",
3
- "version": "2.3.2-beta.14",
3
+ "version": "2.3.2-beta.16",
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": "bd6b097a9d70dc7e9dace4c1af400ba5e5f0748e"
15
+ "gitHead": "c084bb37e834d48bac168c201937102ea225793c"
16
16
  }