files.com 1.0.59 → 1.0.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/sso_strategy.md +27 -1
- data/lib/files.com/models/sso_strategy.rb +65 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c690446029bc7e1ef335fa91a9dd7b3601e3a845d9119e5baf7299567b1c0ff8
|
4
|
+
data.tar.gz: 04415de4081598065d3c06335f110f6f74d10555e697f93686fbffea17ca9458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 987afa0cc9011dc90acf572b5fff8a667cd5345ee6b31da8bb580b1034184705c7ac723a8deb7a027bfdec572c44f5ce8f703a65e48e2ce7a6bd6d086b6a5a27
|
7
|
+
data.tar.gz: 8e3701ed6eb9d2b7b0d20bd5441bbcb51cac61f8726115af5ec9615e09205b94c75c8953cf8caaf2c5b252db1f3a82204a85b0bf53dd9c7c65a10f0f5057f0c4
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.60
|
data/docs/sso_strategy.md
CHANGED
@@ -26,8 +26,21 @@
|
|
26
26
|
"provision_attachments_permission": true,
|
27
27
|
"provision_dav_permission": true,
|
28
28
|
"provision_ftp_permission": true,
|
29
|
+
"provision_group_action": "disabled",
|
29
30
|
"provision_sftp_permission": true,
|
30
|
-
"provision_time_zone": "Eastern Time (US & Canada)"
|
31
|
+
"provision_time_zone": "Eastern Time (US & Canada)",
|
32
|
+
"provision_user_action": "disabled",
|
33
|
+
"ldap_base_dn": "",
|
34
|
+
"ldap_domain": "mysite.com",
|
35
|
+
"enabled": true,
|
36
|
+
"ldap_host": "ldap.site.com",
|
37
|
+
"ldap_host_2": "ldap2.site.com",
|
38
|
+
"ldap_host_3": "ldap3.site.com",
|
39
|
+
"ldap_port": 1,
|
40
|
+
"ldap_secure": true,
|
41
|
+
"ldap_user_include_groups": "",
|
42
|
+
"ldap_username": "[ldap username]",
|
43
|
+
"ldap_username_field": "sAMAccountName"
|
31
44
|
}
|
32
45
|
```
|
33
46
|
|
@@ -53,8 +66,21 @@
|
|
53
66
|
* `provision_attachments_permission` (boolean): Auto-provisioned users get Sharing permission?
|
54
67
|
* `provision_dav_permission` (boolean): Auto-provisioned users get WebDAV permission?
|
55
68
|
* `provision_ftp_permission` (boolean): Auto-provisioned users get FTP permission?
|
69
|
+
* `provision_group_action` (string): Should we sync groups from this strategy?
|
56
70
|
* `provision_sftp_permission` (boolean): Auto-provisioned users get SFTP permission?
|
57
71
|
* `provision_time_zone` (string): Default time zone for auto provisioned users.
|
72
|
+
* `provision_user_action` (string): Should we sync users from this strategy?
|
73
|
+
* `ldap_base_dn` (string): Base DN for looking up users in LDAP server
|
74
|
+
* `ldap_domain` (string): Domain name that will be appended to LDAP usernames
|
75
|
+
* `enabled` (boolean): Is strategy enabled?
|
76
|
+
* `ldap_host` (string): LDAP host
|
77
|
+
* `ldap_host_2` (string): LDAP backup host
|
78
|
+
* `ldap_host_3` (string): LDAP backup host
|
79
|
+
* `ldap_port` (int64): LDAP port
|
80
|
+
* `ldap_secure` (boolean): Use secure LDAP?
|
81
|
+
* `ldap_user_include_groups` (string): Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
82
|
+
* `ldap_username` (string): Username for signing in to LDAP server.
|
83
|
+
* `ldap_username_field` (string): LDAP username field
|
58
84
|
|
59
85
|
|
60
86
|
---
|
@@ -119,6 +119,11 @@ module Files
|
|
119
119
|
@attributes[:provision_ftp_permission]
|
120
120
|
end
|
121
121
|
|
122
|
+
# string - Should we sync groups from this strategy?
|
123
|
+
def provision_group_action
|
124
|
+
@attributes[:provision_group_action]
|
125
|
+
end
|
126
|
+
|
122
127
|
# boolean - Auto-provisioned users get SFTP permission?
|
123
128
|
def provision_sftp_permission
|
124
129
|
@attributes[:provision_sftp_permission]
|
@@ -129,6 +134,66 @@ module Files
|
|
129
134
|
@attributes[:provision_time_zone]
|
130
135
|
end
|
131
136
|
|
137
|
+
# string - Should we sync users from this strategy?
|
138
|
+
def provision_user_action
|
139
|
+
@attributes[:provision_user_action]
|
140
|
+
end
|
141
|
+
|
142
|
+
# string - Base DN for looking up users in LDAP server
|
143
|
+
def ldap_base_dn
|
144
|
+
@attributes[:ldap_base_dn]
|
145
|
+
end
|
146
|
+
|
147
|
+
# string - Domain name that will be appended to LDAP usernames
|
148
|
+
def ldap_domain
|
149
|
+
@attributes[:ldap_domain]
|
150
|
+
end
|
151
|
+
|
152
|
+
# boolean - Is strategy enabled?
|
153
|
+
def enabled
|
154
|
+
@attributes[:enabled]
|
155
|
+
end
|
156
|
+
|
157
|
+
# string - LDAP host
|
158
|
+
def ldap_host
|
159
|
+
@attributes[:ldap_host]
|
160
|
+
end
|
161
|
+
|
162
|
+
# string - LDAP backup host
|
163
|
+
def ldap_host_2
|
164
|
+
@attributes[:ldap_host_2]
|
165
|
+
end
|
166
|
+
|
167
|
+
# string - LDAP backup host
|
168
|
+
def ldap_host_3
|
169
|
+
@attributes[:ldap_host_3]
|
170
|
+
end
|
171
|
+
|
172
|
+
# int64 - LDAP port
|
173
|
+
def ldap_port
|
174
|
+
@attributes[:ldap_port]
|
175
|
+
end
|
176
|
+
|
177
|
+
# boolean - Use secure LDAP?
|
178
|
+
def ldap_secure
|
179
|
+
@attributes[:ldap_secure]
|
180
|
+
end
|
181
|
+
|
182
|
+
# string - Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
183
|
+
def ldap_user_include_groups
|
184
|
+
@attributes[:ldap_user_include_groups]
|
185
|
+
end
|
186
|
+
|
187
|
+
# string - Username for signing in to LDAP server.
|
188
|
+
def ldap_username
|
189
|
+
@attributes[:ldap_username]
|
190
|
+
end
|
191
|
+
|
192
|
+
# string - LDAP username field
|
193
|
+
def ldap_username_field
|
194
|
+
@attributes[:ldap_username_field]
|
195
|
+
end
|
196
|
+
|
132
197
|
# Parameters:
|
133
198
|
# page - int64 - Current page number.
|
134
199
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
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.
|
4
|
+
version: 1.0.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|