stable
Clone or download
Read-only
part of story #9525 use full regexp instead of wildcards Regexp should be taken in account, only line breakers characters are forbidden in regexp Change-Id: Ifa352961ab7ef4839b7aa5762c5cf8d1bfb2cd30
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/Permissions/FineGrainedPatternValidator.php | +11 | −1 | Go to diff View file |
M | plugins/git/include/Git/Permissions/FineGrainedPermissionFactory.php | +1 | −1 | Go to diff View file |
A | plugins/git/include/Git/Permissions/FineGrainedRegexpValidator.php | +40 | −0 | Go to diff View file |
M | plugins/git/include/Git/Permissions/PatternValidator.php | +28 | −2 | Go to diff View file |
M | plugins/git/include/GitPresenters/AccessControlPresenter.class.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/GitPresenters/AdminDefaultSettingsPresenter.php | +1 | −1 | Go to diff View file |
M | plugins/git/include/autoload.php | +3 | −2 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +11 | −1 | Go to diff View file |
M | plugins/git/site-content/en_US/script_locale.txt | +2 | −1 | Go to diff View file |
M | plugins/git/site-content/fr_FR/script_locale.txt | +2 | −1 | Go to diff View file |
M | plugins/git/templates/fine_grained.mustache | +14 | −5 | Go to diff View file |
M | plugins/git/tests/Git/Permissions/DefaultFineGrainedPermissionFactoryTest.php | +5 | −1 | Go to diff View file |
M | plugins/git/tests/Git/Permissions/FineGrainedPatternValidatorTest.php | +16 | −0 | Go to diff View file |
M | plugins/git/tests/Git/Permissions/FineGrainedPermissionFactoryTest.php | +5 | −1 | Go to diff View file |
A | plugins/git/tests/Git/Permissions/FineGrainedRegexpValidatorTest.php | +79 | −0 | Go to diff View file |
A | plugins/git/tests/Git/Permissions/PatternValidatorTest.php | +88 | −0 | Go to diff View file |
M | plugins/git/tests/rest/GitDataBuilder.php | +13 | −1 | Go to diff View file |
M | plugins/git/www/scripts/permissions.js | +8 | −1 | Go to diff View file |