@@ -80,6 +80,7 @@ Feature: Manage users using the Provisioning API
80
80
@issue-core-33186
81
81
Scenario Outline : admin tries to modify displayname of user for which an LDAP attribute is specified
82
82
Given using OCS API version "<ocs-api-version>"
83
+ And user "user1" has been created with default attributes and without skeleton files
83
84
When the administrator sets the ldap attribute "displayname" of the entry "uid=user1,ou=TestUsers" to "ldap user"
84
85
And the LDAP users are resynced
85
86
When the administrator changes the display of user "user1" to "A New User" using the provisioning API
@@ -96,6 +97,7 @@ Feature: Manage users using the Provisioning API
96
97
@issue-core-33186
97
98
Scenario Outline : admin tries to modify password of user for which an LDAP attribute is specified
98
99
Given using OCS API version "<ocs-api-version>"
100
+ And user "user1" has been created with default attributes and skeleton files
99
101
When the administrator sets the ldap attribute "userpassword" of the entry "uid=user1,ou=TestUsers" to "ldap_password"
100
102
And the LDAP users are resynced
101
103
And the administrator resets the password of user "user1" to "api_password" using the provisioning API
@@ -113,6 +115,7 @@ Feature: Manage users using the Provisioning API
113
115
@issue-core-33186
114
116
Scenario Outline : admin tries to modify mail of user for which an LDAP attribute is specified
115
117
Given using OCS API version "<ocs-api-version>"
118
+ And user "user1" has been created with default attributes and without skeleton files
116
119
When the administrator sets the ldap attribute
"mail" of the entry
"uid=user1,ou=TestUsers" to
"[email protected] "
117
120
And the LDAP users are resynced
118
121
And the administrator changes the email of user
"user1" to
"[email protected] " using the provisioning API
@@ -132,6 +135,7 @@ Feature: Manage users using the Provisioning API
132
135
@issue-core-33186
133
136
Scenario Outline : admin tries to modify quota of user for which an LDAP attribute is specified
134
137
Given using OCS API version "<ocs-api-version>"
138
+ And user "user1" has been created with default attributes and without skeleton files
135
139
#to set Quota we can just misuse any LDAP text field
136
140
And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
137
141
When the administrator sets the ldap attribute "employeeNumber" of the entry "uid=user1,ou=TestUsers" to "10 MB"
@@ -152,6 +156,7 @@ Feature: Manage users using the Provisioning API
152
156
153
157
Scenario Outline : admin sets quota of user for which no LDAP quota attribute is specified
154
158
Given using OCS API version "<ocs-api-version>"
159
+ And user "user1" has been created with default attributes and without skeleton files
155
160
#to set Quota we can just misuse any LDAP text field
156
161
And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
157
162
And the LDAP users have been resynced
@@ -169,6 +174,7 @@ Feature: Manage users using the Provisioning API
169
174
@issue-core-33186
170
175
Scenario Outline : admin sets quota of user for which no LDAP quota attribute is specified but a default quota is set in the LDAP settings
171
176
Given using OCS API version "<ocs-api-version>"
177
+ And user "user1" has been created with default attributes and without skeleton files
172
178
#to set Quota we can just misuse any LDAP text field
173
179
And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
174
180
And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -189,6 +195,7 @@ Feature: Manage users using the Provisioning API
189
195
190
196
Scenario Outline : admin sets quota of user in LDAP when a default quota is set in the LDAP settings
191
197
Given using OCS API version "<ocs-api-version>"
198
+ And user "user1" has been created with default attributes and without skeleton files
192
199
#to set Quota we can just misuse any LDAP text field
193
200
And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
194
201
And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -205,6 +212,7 @@ Feature: Manage users using the Provisioning API
205
212
@issue-core-33186
206
213
Scenario Outline : admin sets quota of user when the quota LDAP attribute is specified and a default quota is set in the LDAP settings
207
214
Given using OCS API version "<ocs-api-version>"
215
+ And user "user1" has been created with default attributes and without skeleton files
208
216
#to set Quota we can just misuse any LDAP text field
209
217
And LDAP config "LDAPTestId" has key "ldapQuotaAttribute" set to "employeeNumber"
210
218
And LDAP config "LDAPTestId" has key "ldapQuotaDefault" set to "10MB"
@@ -226,6 +234,7 @@ Feature: Manage users using the Provisioning API
226
234
227
235
Scenario Outline : Administrator deletes a ldap user and resyncs again
228
236
Given using OCS API version "<ocs-api-version>"
237
+ And user "user0" has been created with default attributes and without skeleton files
229
238
And user "user0" has uploaded file with content "new file that should be overwritten after user deletion" to "textfile0.txt"
230
239
When the administrator deletes user "user0" using the provisioning API
231
240
Then the OCS status code should be "<ocs-status-code>"
@@ -241,6 +250,7 @@ Feature: Manage users using the Provisioning API
241
250
242
251
Scenario Outline : Administrator tries to create a user with same name as existing ldap user
243
252
Given using OCS API version "<ocs-api-version>"
253
+ And user "user0" has been created with default attributes and skeleton files
244
254
When the administrator sends a user creation request for user "user0" password "%alt1%" using the provisioning API
245
255
Then the OCS status code should be "<ocs-status-code>"
246
256
And the HTTP status code should be "<http-status-code>"
0 commit comments