stable
Clone or download
Read-only
part of request #12392 Convert error message for restricted users in BP
How to test: - Try to access to a private project you're not member of => you should have a BP error page => a modal enable you to ask permission for this project - Change the default text for error (Project Admin > Permission Request) Try to access a private project you're not member of => the place holder has changed in the modal This patch does not deal with Error_PermissionDenied inheritance, The processMail method will be extracted in a dedicated object in next patchset Change-Id: I92b14d3892f3f81d0ea4353f0c101aff26c4f193
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +8 | −1 | Go to diff View file |
M | site-content/tuleap-core.pot | +6 | −0 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +11 | −1 | Go to diff View file |
A | src/common/error/ErrorDependenciesInjector.php | +37 | −0 | Go to diff View file |
D | src/common/error/Error_PermissionDenied_RestrictedUser.class.php | +0 | −46 | Go to diff View file |
M | src/common/error/PermissionDeniedMailSender.php | +7 | −10 | Go to diff View file |
M | src/common/error/PermissionDeniedPrivateProjectController.php | +9 | −23 | Go to diff View file |
A | src/common/error/PermissionDeniedRestrictedAccountController.php | +82 | −0 | Go to diff View file |
M | src/common/error/PlaceHolderBuilder.php | +1 | −1 | Go to diff View file |
R | src/common/error/PermissionDeniedPrivateProjectPresenter.php | Go to diff View file | ||
M | src/common/include/URLVerification.class.php | +14 | −6 | Go to diff View file |
M | src/templates/common/join-project.mustache | +2 | −2 | Go to diff View file |
A | src/templates/common/permission-denied-restricted-account.mustache | +26 | −0 | Go to diff View file |
A | src/templates/common/svg-restricted-account.mustache | +52 | −0 | Go to diff View file |
M | src/www/sendmessage.php | +0 | −32 | Go to diff View file |