@steedos/service-core-objects 3.0.13-beta.21 → 3.0.13-beta.23

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.
@@ -10,6 +10,10 @@ fields:
10
10
  label: Space Owner
11
11
  help:
12
12
  description:
13
+ password_expiry_days:
14
+ label: Password Expiry Days
15
+ help: Number of days after which users must change their password. Leave empty to disable password expiry.
16
+ description:
13
17
  admins:
14
18
  label: Admins
15
19
  help:
@@ -52,6 +56,7 @@ fields:
52
56
  description:
53
57
  groups:
54
58
  register_account: Register account
59
+ Security: Security
55
60
  developer: Developer
56
61
  listviews:
57
62
  all:
@@ -10,6 +10,10 @@ fields:
10
10
  label: 所有者
11
11
  help:
12
12
  description:
13
+ password_expiry_days:
14
+ label: 密码过期天数
15
+ help: 用户必须修改密码的天数。留空表示禁用密码过期。
16
+ description:
13
17
  admins:
14
18
  label: 管理员
15
19
  help:
@@ -52,6 +56,7 @@ fields:
52
56
  description:
53
57
  groups:
54
58
  register_account: 用户自助注册
59
+ Security: 安全
55
60
  developer: 华炎云
56
61
  listviews:
57
62
  all:
@@ -63,6 +63,10 @@ fields:
63
63
  label: Password expired
64
64
  help:
65
65
  description:
66
+ password_modified_at:
67
+ label: Password Modified At
68
+ help:
69
+ description:
66
70
  company_id:
67
71
  label:
68
72
  help:
@@ -60,7 +60,11 @@ fields:
60
60
  help:
61
61
  description:
62
62
  password_expired:
63
- label: Password expired
63
+ label: 密码已过期
64
+ help:
65
+ description:
66
+ password_modified_at:
67
+ label: 密码修改时间
64
68
  help:
65
69
  description:
66
70
  company_id:
@@ -112,6 +112,13 @@ fields:
112
112
  omit: false
113
113
  hidden: false
114
114
  sort_no: 110
115
+ password_expiry_days:
116
+ name: password_expiry_days
117
+ label: Password Expiry Days
118
+ type: number
119
+ inlineHelpText: Number of days after which users must change their password. Leave empty to disable password expiry.
120
+ sort_no: 120
121
+ min: 0
115
122
  services:
116
123
  name: services
117
124
  type: object
@@ -126,6 +126,13 @@ fields:
126
126
  omit: true
127
127
  hidden: true
128
128
  sort_no: 230
129
+ password_modified_at:
130
+ name: password_modified_at
131
+ label: Password Modified At
132
+ type: datetime
133
+ omit: true
134
+ hidden: true
135
+ sort_no: 235
129
136
  primary_email_verified:
130
137
  name: primary_email_verified
131
138
  type: boolean
@@ -45,4 +45,5 @@ exports.parsePassword = function(newPassword, options){
45
45
  }
46
46
  options.services.password.bcrypt = bcrypt;
47
47
  options.password_expired = false;
48
+ options.password_modified_at = new Date();
48
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-core-objects",
3
- "version": "3.0.13-beta.21",
3
+ "version": "3.0.13-beta.23",
4
4
  "main": "package.service.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,7 +9,7 @@
9
9
  "steedos"
10
10
  ],
11
11
  "dependencies": {
12
- "@steedos/service-package-loader": "3.0.13-beta.21",
12
+ "@steedos/service-package-loader": "3.0.13-beta.23",
13
13
  "bcryptjs": "^3.0.3",
14
14
  "json2xls": "^0.1.2",
15
15
  "lodash": "^4.17.21"
@@ -17,5 +17,5 @@
17
17
  "description": "steedos package",
18
18
  "repository": {},
19
19
  "license": "MIT",
20
- "gitHead": "2764a863470220194f4e2d1b74e46769b57f0cba"
20
+ "gitHead": "acb8a99b8df31ffc899623784b0e983b287b4f90"
21
21
  }