files.com 1.0.205 → 1.0.206

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8464d4566cfa86c36e356bbca9c2d6e61ad7979e95c3ab156caed919e9d3f3e
4
- data.tar.gz: e56f8d609526e24ec6c1c15e9fb25d8b185e3b6d305bc0e4f1acb33cc3362a08
3
+ metadata.gz: e08ceccd2b0427e8ee868f98e4ca7f51e255690999e9593cb6dff7654d9b5bf0
4
+ data.tar.gz: 3f5aae71deb7604072c9ee29aa77016defad30ff81f4aa87833eec749f0879f9
5
5
  SHA512:
6
- metadata.gz: 0e5e2efe33c13efe80e1d5d287c1040bb0b892944c3b7390b09e347908d137b08d65ce13c64dcc5f0134ddb43c59492087e69d2a87e23fd40ced1b25a207ed37
7
- data.tar.gz: f1bed388135f56850129c82d0922b323d03bcba01b96049395b4baccbe0240f4947532e319acb645ee49613a841a8691a4595278dcc58ff9bb05e9fb6bde23ba
6
+ metadata.gz: bac8219b6d08dbe35641575bd04875c8a3d73f02dee378cce8f648deac271f6878a9df63b56fbfcacc82b661414e1574cdd8089c14054f8039914a065eefd9dc
7
+ data.tar.gz: bbafe377de8b2880f70ff91738046c2e4af924fca2d2da64ae2048f04fbd063e266cb518d0e6f2fa516a51f29f228ce5722392a4b3c194978d7b0668f1370983
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.205
1
+ 1.0.206
data/docs/site.md CHANGED
@@ -185,6 +185,7 @@
185
185
  "require_2fa": "always_require",
186
186
  "active_2fa": true,
187
187
  "require_password_change": true,
188
+ "password_expired": true,
188
189
  "restapi_permission": true,
189
190
  "self_managed": true,
190
191
  "sftp_permission": true,
data/docs/user.md CHANGED
@@ -41,6 +41,7 @@
41
41
  "require_2fa": "always_require",
42
42
  "active_2fa": true,
43
43
  "require_password_change": true,
44
+ "password_expired": true,
44
45
  "restapi_permission": true,
45
46
  "self_managed": true,
46
47
  "sftp_permission": true,
@@ -91,6 +92,7 @@
91
92
  * `require_2fa` (string): 2FA required setting
92
93
  * `active_2fa` (boolean): Is 2fa active for the user?
93
94
  * `require_password_change` (boolean): Is a password change required upon next user login?
95
+ * `password_expired` (boolean): Is user's password expired?
94
96
  * `restapi_permission` (boolean): Can this user access the REST API?
95
97
  * `self_managed` (boolean): Does this user manage it's own credentials or is it a shared/bot user?
96
98
  * `sftp_permission` (boolean): Can the user access with SFTP?
@@ -320,6 +320,15 @@ module Files
320
320
  @attributes[:require_password_change] = value
321
321
  end
322
322
 
323
+ # boolean - Is user's password expired?
324
+ def password_expired
325
+ @attributes[:password_expired]
326
+ end
327
+
328
+ def password_expired=(value)
329
+ @attributes[:password_expired] = value
330
+ end
331
+
323
332
  # boolean - Can this user access the REST API?
324
333
  def restapi_permission
325
334
  @attributes[:restapi_permission]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.205
4
+ version: 1.0.206
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-30 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable