stable

Clone or download

Read-only

REST API enforce check of user/project access with core API.

Part of story #12554 have private projects without restricted members Change-Id: Ib385b96bddd6d66807d82daf06f49e9a73be01c1

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +18 −6 Go to diff View file
M plugins/frs/include/FRS/REST/v1/FileResource.php +4 −15 Go to diff View file
M plugins/frs/include/FRS/REST/v1/PackageResource.php +1 −2 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ReleaseResource.php +2 −4 Go to diff View file
M plugins/git/include/REST/v1/GerritResource.php +4 −0 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +1 −1 Go to diff View file
M plugins/tracker/include/REST/v1/TrackerFieldsResource.php +8 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +3 −2 Go to diff View file
M plugins/webdav/include/FS/WebDAVFRS.class.php +2 −5 Go to diff View file
M plugins/webdav/include/WebDAVUtils.class.php +2 −5 Go to diff View file
M src/common/REST/ProjectStatusVerificator.php +28 −4 Go to diff View file
M src/common/frs/FRSFileFactory.class.php +1 −4 Go to diff View file
M src/common/frs/FRSPackageFactory.class.php +1 −4 Go to diff View file
M src/common/frs/FRSPermissionManager.php +56 −20 Go to diff View file
M src/common/frs/ServiceFile.class.php +1 −4 Go to diff View file
M src/www/file/admin/editproc.php +1 −4 Go to diff View file
M src/www/file/admin/index.php +1 −4 Go to diff View file
M src/www/file/admin/manageprocessors.php +1 −4 Go to diff View file
M src/www/file/admin/package.php +1 −4 Go to diff View file
M src/www/file/filemodule_monitor.php +1 −4 Go to diff View file
M src/www/file/showfiles.php +1 −4 Go to diff View file
M src/www/file/shownotes.php +1 −4 Go to diff View file
M src/www/project/admin/permissions.php +1 −4 Go to diff View file
M src/www/project/admin/userperms.php +1 −4 Go to diff View file
A tests/phpunit/common/Frs/FRSPermissionManagerTest.php +170 −0 Go to diff View file
M tests/phpunit/common/Project/REST/ProjectStatusVerificatorTest.php +14 −5 Go to diff View file
D tests/simpletest/common/frs/FRSPermissionManagerTest.php +0 −84 Go to diff View file