stable

Clone or download

Read-only

Export/import documents permissions

Now permissions that are set on a given docman item are exported and imported back. Part of request #14507: XML import/export : docman Change-Id: I47c0334f3e14f8ae2e23f0c99951f5edc0140e50

Modified Files

Name
D plugins/docman/include/Docman_PermissionsItemManager.class.php +0 −148 Go to diff View file
A plugins/docman/include/XML/Export/PermissionsExporter.php +65 −0 Go to diff View file
A plugins/docman/include/XML/Export/PermissionsExporterDao.php +37 −0 Go to diff View file
M plugins/docman/include/XML/Export/XMLExportVisitor.php +12 −5 Go to diff View file
M plugins/docman/include/XML/Import/ItemImporter.php +6 −15 Go to diff View file
A plugins/docman/include/XML/Import/PermissionsImporter.php +89 −0 Go to diff View file
M plugins/docman/include/XML/XMLExporter.php +20 −7 Go to diff View file
M plugins/docman/include/docmanPlugin.php +26 −6 Go to diff View file
D plugins/docman/phpunit/PermissionManager/Docman_PermissionsItemManagerTest.php +0 −535 Go to diff View file
A plugins/docman/phpunit/XML/Export/PermissionsExporterTest.php +123 −0 Go to diff View file
M plugins/docman/phpunit/XML/Export/XMLExportVisitorTest.php +21 −1 Go to diff View file
M plugins/docman/phpunit/XML/Import/ItemImporterTest.php +6 −7 Go to diff View file
A plugins/docman/phpunit/XML/Import/PermissionsImporterTest.php +177 −0 Go to diff View file
M plugins/docman/resources/docman-definition.rnc +7 −1 Go to diff View file
M plugins/docman/resources/docman-definition.rng +18 −0 Go to diff View file
M src/common/Project/UGroupRetrieverWithLegacy.php +1 −1 Go to diff View file
M src/common/dao/PermissionsDao.class.php +3 −3 Go to diff View file
M src/common/xml/resources/project/docman-definition.rng +18 −0 Go to diff View file