-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Move user creation to a separate service #35917
Conversation
62704c8
to
e51312f
Compare
Codecov Report
@@ Coverage Diff @@
## master #35917 +/- ##
=============================================
- Coverage 65.8% 49.03% -16.77%
=============================================
Files 1229 109 -1120
Lines 70856 10535 -60321
Branches 1289 1289
=============================================
- Hits 46626 5166 -41460
+ Misses 23852 4991 -18861
Partials 378 378
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #35917 +/- ##
============================================
- Coverage 65.8% 65.76% -0.04%
- Complexity 18760 18817 +57
============================================
Files 1229 1241 +12
Lines 70856 71140 +284
Branches 1289 1289
============================================
+ Hits 46626 46786 +160
- Misses 23852 23976 +124
Partials 378 378
Continue to review full report at Codecov.
|
9d68c79
to
c4aeb19
Compare
c4aeb19
to
1654a57
Compare
Move user creation to a separate service. Signed-off-by: Sujith H <[email protected]>
1654a57
to
8571ea2
Compare
Is it everything covered with unittests? Any piece that can't be easily covered? |
As discussed in #35777 the master branch will from now on hold the ownCloud 10 codebase. This PR targetted ownCloud 11 which is postponed to a far distant future. Because of that I'm closing this PR and kindly ask you to re-submit this PR in a few days. Thanks a lot for your patience |
Move user creation to a separate service.
Signed-off-by: Sujith H [email protected]
Description
Move the user creation to the service class.
Related Issue
Motivation and Context
Add the create user to a service class. It is moved from user_management apps UsersController. This will help us in integrating the change with the
user:add
command support creating users with username and email address. It will also help for provisioning API.How Has This Been Tested?
user:add
command the users are created with email address and/or with password. For example:group1
andgroup2
were created and theuser5
is added to the groupScreenshots (if appropriate):
Types of changes
Checklist:
Open tasks: