stable

Clone or download

Read-only

Can set permissions when creating new items with the exception of file document

Possibility to do so for files will be done separately as we also need to clean up the permissions if the file is not uploaded during the given timeframe. Part of story #12457: New document modal: permissions Change-Id: Icabc48c1c8f8ea5fc336bd1cca159176072b562c

Modified Files

Name
M plugins/docman/include/REST/v1/AfterItemCreationVisitor.php +30 −13 Go to diff View file
M plugins/docman/include/REST/v1/DocmanItemCreator.php +49 −17 Go to diff View file
M plugins/docman/include/REST/v1/EmbeddedFiles/DocmanEmbeddedPOSTRepresentation.php +8 −0 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanEmptyPOSTRepresentation.php +7 −1 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanFolderPOSTRepresentation.php +7 −0 Go to diff View file
M plugins/docman/include/REST/v1/Folders/DocmanItemCreatorBuilder.php +22 −2 Go to diff View file
M plugins/docman/include/REST/v1/Links/DocmanLinkPOSTRepresentation.php +7 −0 Go to diff View file
M plugins/docman/include/REST/v1/Wiki/DocmanWikiPOSTRepresentation.php +7 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php +147 −34 Go to diff View file