stable

Clone or download

Read-only

Block acces to SVN plugin and core when project is suspended

part of story #12160 have a clean way to suspend a project How to test: - redeploy Tuleap.pm and reload httpd - you can't perform any action on SVN plugin and core (checkout/commit) for suspended project - Change project status => new system event are created => httpd is reloaded at system event execution => svn core and plugin avaible depending on project status This patch does not deal with redis cache, if redis is started changes won't apply. Change-Id: I3d1e3ed7db7a8b0fd7d8dcaf97855f6d77d72336

Modified Files

Name
M src/common/system_event/SystemEvent.class.php +4 −1 Go to diff View file
M src/common/system_event/SystemEventManager.class.php +54 −2 Go to diff View file
A src/common/system_event/include/SystemEvent_PROJECT_ACTIVE.php +63 −0 Go to diff View file
M src/common/system_event/include/SystemEvent_PROJECT_DELETE.class.php +6 −10 Go to diff View file
A src/common/system_event/include/SystemEvent_PROJECT_PENDING.php +64 −0 Go to diff View file
A src/common/system_event/include/SystemEvent_PROJECT_SUSPENDED.php +64 −0 Go to diff View file
M src/utils/svn/Tuleap.pm +9 −5 Go to diff View file