stable
Clone or download
Read-only
this is part of story #8821 define and enforce immutable tags In this commit, you can define whitelist in admin interface If you define an immutable tag "/tags", and if you defin a whitelist for "/tags/moduleX" you should be able to commit into "/tags/moduleX" you should not be able to commit into "/tags/moduleY" Change-Id: I6c05a56da97c8b162ec2dbe12d90948abe377114
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/svn/include/Svn/Admin/ImmutableTag.php | +7 | −1 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/ImmutableTagController.php | +7 | −3 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/ImmutableTagCreator.php | +6 | −3 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/ImmutableTagDao.php | +4 | −3 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/ImmutableTagFactory.php | +3 | −1 | Go to diff View file |
M | plugins/svn/include/Svn/Admin/ImmutableTagPresenter.php | +4 | −1 | Go to diff View file |
M | plugins/svn/include/Svn/Hooks/PreCommit.php | +33 | −3 | Go to diff View file |
M | plugins/svn/templates/admin/immutable_tag.mustache | +11 | −2 | Go to diff View file |