-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36613 from owncloud/add-character-create-user
Allow "+" character in usernames
- Loading branch information
Showing
18 changed files
with
248 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Enhancement: Allow plus sign in username | ||
|
||
The plus sign is now allowed in a username, e.g. John+Smith | ||
|
||
https://github.com/owncloud/core/pull/36613 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,19 @@ Feature: edit users | |
And the OCS status code should be "100" | ||
And the email address of user "brand-new-user" should be "[email protected]" | ||
|
||
Scenario Outline: the administrator can edit a user email of an user with special characters in the username | ||
Given these users have been created with skeleton files: | ||
| username | email | | ||
| <username> | <email> | | ||
When the administrator changes the email of user "<username>" to "[email protected]" using the provisioning API | ||
Then the HTTP status code should be "200" | ||
And the OCS status code should be "100" | ||
And the email address of user "<username>" should be "[email protected]" | ||
Examples: | ||
| username | email | | ||
| a@-+_.b | a.b@example.com | | ||
| a space | a.space@example.com | | ||
|
||
@smokeTest | ||
Scenario: the administrator can edit a user display (the API allows editing the "display name" by using the key word "display") | ||
Given user "brand-new-user" has been created with default attributes and skeleton files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,19 @@ Feature: edit users | |
And the OCS status code should be "200" | ||
And the email address of user "brand-new-user" should be "[email protected]" | ||
|
||
Scenario Outline: the administrator can edit a user email of an user with special characters in the username | ||
Given these users have been created with skeleton files: | ||
| username | email | | ||
| <username> | <email> | | ||
When the administrator changes the email of user "<username>" to "[email protected]" using the provisioning API | ||
Then the HTTP status code should be "200" | ||
And the OCS status code should be "200" | ||
And the email address of user "<username>" should be "[email protected]" | ||
Examples: | ||
| username | email | | ||
| a@-+_.b | a.b@example.com | | ||
| a space | a.space@example.com | | ||
|
||
@smokeTest | ||
Scenario: the administrator can edit a user display (the API allows editing the "display name" by using the key word "display") | ||
Given user "brand-new-user" has been created with default attributes and skeleton files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.