Testing md5home#26854
Conversation
When specifying "user_backends" in config.php, a new option "default" when set to false will prevent the default user backend to be registered. The default one is the database backend. This makes it possible to select exclusive user backends from apps.
The backend provide md5 result to getHome()
|
@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @bantu and @xoen to be potential reviewers. |
|
Admin user account stops working with this set up. This is my data folder after having admin, user1, user2 and user3 logged in at least once: Admin user cannot upload files or access to his files. |
|
Admin user is not relevant for integration tests, at least not the filesystem ones. FS tests run as newly created users which would get the correct home. If causing side effects I can add an exception for users called "admin" and return the normal home for that one. |
|
ohhh nice! |
|
@butonic hold your horses, this is only for the testing app 😉 |
|
@SergioBertolinSG please retry, I excluded "admin" here 79d1ed0 |
|
All tests passed now, merge ? |
|
Works fine 👍 |
|
We need to backport this if we want to benefit from automated testing... Agreed ? @DeepDiver1975 @SergioBertolinSG |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Allow clearing default user backends in config.php.
Testing app provides test user backend for alternative homes.
Related Issue
Alternative to #26846 and #26851
Motivation and Context
Need tests for alternative getHome
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
@DeepDiver1975 as discussed
@SergioBertolinSG
If approve, I'll add an automated test suite that uses this in #26846