stable

Clone or download

Read-only

Move sys_allow_anon in the database

So that it is easier to update the configuration and it prevents inconsistencies (e.g. sys_allow_anon = 1 && sys_allow_restricted_users = 1) If the variables are still present in the local.inc file, then a warning is display to ask to site admin to update the file. Change-Id: Ie9cca82102b0070bc9aba72f2e663f7905ce7885 Implements: story #7813: grant restricted users access to git repositories

Modified Files

Name
M plugins/git/include/Git/HTTP/CommandFactory.class.php +1 −1 Go to diff View file
M plugins/ldap/include/LDAP_BackendSVN.class.php +1 −1 Go to diff View file
M plugins/webdav/include/WebDAVAuthentication.class.php +8 −8 Go to diff View file
M plugins/webdav/tests/WebDAVAuthenticationTest.php +7 −11 Go to diff View file
M site-content/en_US/admin/admin.tab +10 −0 Go to diff View file
M site-content/fr_FR/admin/admin.tab +10 −0 Go to diff View file
M src/common/Config/Config.php +14 −1 Go to diff View file
A src/common/Config/ConfigDao.php +37 −0 Go to diff View file
A src/common/Config/ConfigValueDatabaseProvider.php +42 −0 Go to diff View file
A src/common/Config/LocalIncFinder.php +38 −0 Go to diff View file
A src/common/ForgeAccess/AdminController.php +127 −0 Go to diff View file
A src/common/ForgeAccess/AdminPresenter.php +97 −0 Go to diff View file
A src/common/ForgeAccess/AdminRouter.php +50 −0 Go to diff View file
A src/common/ForgeAccess/ForgeAccess.php +28 −0 Go to diff View file
M src/common/REST/AuthenticatedResource.class.php +2 −2 Go to diff View file
M src/common/autoload.php +9 −2 Go to diff View file
M src/common/include/URLVerification.class.php +1 −1 Go to diff View file
M src/common/layout/Layout.class.php +1 −1 Go to diff View file
M src/common/project/ProjectManager.class.php +1 −1 Go to diff View file
M src/db/mysql/database_initvalues.sql +2 −0 Go to diff View file
M src/db/mysql/database_structure.sql +7 −0 Go to diff View file
A src/db/mysql/updates/2015/201503271456_add_forgeconfig.php +87 −0 Go to diff View file
M src/etc/local.inc.dist +0 −13 Go to diff View file
A src/templates/admin/anonymous/access_choice.mustache +61 −0 Go to diff View file
M src/www/account/register.php +1 −1 Go to diff View file
M src/www/admin/approve_pending_users.php +7 −7 Go to diff View file
A src/www/admin/forgeaccess.php +32 −0 Go to diff View file
M src/www/admin/index.php +1 −0 Go to diff View file
M src/www/admin/usergroup.php +1 −1 Go to diff View file
M src/www/include/menu.php +1 −1 Go to diff View file
M src/www/include/pre.php +5 −16 Go to diff View file
M src/www/include/utils_soap.php +1 −1 Go to diff View file
A src/www/scripts/tuleap/admin-access-mode.js +44 −0 Go to diff View file
M src/www/themes/common/css/utils/admin.less +35 −0 Go to diff View file
M tests/rest/bin/integration_tests.inc.dist +1 −2 Go to diff View file
M tests/simpletest/common/Config/ConfigTest.php +15 −0 Go to diff View file
M tests/simpletest/common/include/URLVerificationTest.php +8 −12 Go to diff View file
M tests/simpletest/common/project/ProjectManagerTest.php +10 −9 Go to diff View file