stable
Clone or download
Read-only
part of story #9525 use full regexp instead of wildcards Checkbox can be check at Global and repository level. Once checkbox is checked it can't be unchecked. When checkbox is checked then regexp rules are not taken in account, will be done next commit. Change-Id: Id19e8ba070254d86137d7e65736f9ce9f0a7c462
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/db/install.sql | +4 | −0 | Go to diff View file |
A | plugins/git/db/mysql/updates/2016/201610171725_create_plugin_git_repository_fine_grained_regexp.php | +52 | −0 | Go to diff View file |
M | plugins/git/db/uninstall.sql | +1 | −0 | Go to diff View file |
M | plugins/git/include/Git.class.php | +25 | −12 | Go to diff View file |
M | plugins/git/include/Git/Permissions/RegexpFineGrainedEnabler.php | +18 | −3 | Go to diff View file |
M | plugins/git/include/Git/Permissions/RegexpFineGrainedRetriever.php | +18 | −3 | Go to diff View file |
A | plugins/git/include/Git/Permissions/RegexpRepositoryDao.php | +47 | −0 | Go to diff View file |
M | plugins/git/include/GitActions.class.php | +14 | −2 | Go to diff View file |
M | plugins/git/include/GitForkPermissionsManager.class.php | +9 | −2 | Go to diff View file |
M | plugins/git/include/GitPresenters/AccessControlPresenter.class.php | +10 | −1 | Go to diff View file |
M | plugins/git/include/GitPresenters/AdminDefaultSettingsPresenter.php | +11 | −3 | Go to diff View file |
M | plugins/git/include/autoload.php | +4 | −2 | Go to diff View file |
M | plugins/git/include/gitPlugin.class.php | +25 | −6 | Go to diff View file |
M | plugins/git/site-content/en_US/git.tab | +2 | −1 | Go to diff View file |
M | plugins/git/site-content/fr_FR/git.tab | +2 | −1 | Go to diff View file |
M | plugins/git/templates/fine_grained.mustache | +5 | −3 | Go to diff View file |
M | plugins/git/tests/GitActionsTest.php | +8 | −4 | Go to diff View file |
M | plugins/git/tests/GitTest.php | +2 | −1 | Go to diff View file |