stable

Clone or download

Read-only

feat: PDF template manager permission

Designing PDF templates requires some skills that site administrators do not necessarily have. They should be able to delegate the tasks to a designer. In order to do that we introduce "PDF template manager" permission delegation. As soon as users have this permission delegation, they can access the PDF templates administration (they must know the URL for now). They don't have full access to the siteadmin sidebar however. No changes for site administrators. Part of story #38630: Export to file Change-Id: Ib0369293424b4e0f4081b15d8bd4a3d5c4ffca44

Modified Files

Name
A plugins/pdftemplate/include/PdfTemplate/Admin/AdminPageRenderer.php +96 −0 Go to diff View file
M plugins/pdftemplate/include/PdfTemplate/Admin/IndexPdfTemplateController.php +15 −5 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/ManagePdfTemplates.php +45 −0 Go to diff View file
A plugins/pdftemplate/include/PdfTemplate/Admin/RenderAPresenter.php +35 −0 Go to diff View file
M plugins/pdftemplate/include/pdftemplatePlugin.php +13 −1 Go to diff View file
M plugins/pdftemplate/site-content/fr_FR/LC_MESSAGES/tuleap-pdftemplate.po +6 −0 Go to diff View file
M plugins/pdftemplate/tests/unit/PdfTemplate/Admin/IndexPdfTemplateControllerTest.php +49 −2 Go to diff View file
A plugins/pdftemplate/tests/unit/PdfTemplate/Admin/RenderAPresenterStub.php +55 −0 Go to diff View file
M src/common/Layout/HeaderConfiguration.php +3 −0 Go to diff View file
A src/common/Layout/HeaderConfiguration/InSiteAdministration.php +48 −0 Go to diff View file
M src/common/Layout/HeaderConfigurationBuilder.php +17 −0 Go to diff View file
A tests/lib/Stubs/User/ForgePermissionsRetrieverStub.php +49 −0 Go to diff View file