stable

Clone or download

Read-only

Remove session_require calls in site admin

This is part of request #10110: Have a dedicated way to check that a user is site admin How to test: - A non-site admin user cannot access any modified administration pages - the "admin "account can still access them - Add another user (other_admin) as project admin of "Admin project" (id 1) - other_admin can access them Change-Id: I202639904b09e8fd8f516d948fe285b5e32c8182

Modified Files

Name
M plugins/pluginsadministration/include/PluginsAdministration.class.php +21 −6 Go to diff View file
M plugins/userlog/include/UserLogRouter.php +3 −3 Go to diff View file
M src/common/include/Codendi_Request.class.php +10 −0 Go to diff View file
M src/www/account/register.php +1 −1 Go to diff View file
M src/www/admin/apc.conf.php +6 −9 Go to diff View file
M src/www/admin/approve-pending.php +3 −2 Go to diff View file
M src/www/admin/approve_pending_users.php +3 −2 Go to diff View file
M src/www/admin/descfields/desc_fields_edit.php +4 −4 Go to diff View file
M src/www/admin/generic_user.php +2 −1 Go to diff View file
M src/www/admin/groupedit.php +3 −1 Go to diff View file
M src/www/admin/grouplist.php +3 −2 Go to diff View file
M src/www/admin/index.php +3 −2 Go to diff View file
M src/www/admin/lastlogins.php +23 −9 Go to diff View file
M src/www/admin/massmail.php +3 −3 Go to diff View file
M src/www/admin/massmail_execute.php +3 −2 Go to diff View file
M src/www/admin/newprojectmail.php +3 −2 Go to diff View file
M src/www/admin/permission_delegation.php +2 −2 Go to diff View file
M src/www/admin/project-configuration.php +2 −2 Go to diff View file
M src/www/admin/projecthistory.php +5 −3 Go to diff View file
M src/www/admin/register_admin.php +24 −4 Go to diff View file
M src/www/admin/sessions.php +3 −6 Go to diff View file
M src/www/admin/show_pending_documents.php +4 −4 Go to diff View file
M src/www/admin/system_events/index.php +3 −2 Go to diff View file
M src/www/admin/system_events/notifications.php +4 −2 Go to diff View file
M src/www/admin/templates.php +2 −1 Go to diff View file
M src/www/admin/trove/trove_cat_list.php +5 −4 Go to diff View file
M src/www/admin/user_changepw.php +2 −2 Go to diff View file
M src/www/admin/usergroup.php +4 −3 Go to diff View file
M src/www/admin/userlist.php +3 −2 Go to diff View file
M src/www/include/html.php +16 −17 Go to diff View file
M src/www/include/session.php +3 −10 Go to diff View file
M src/www/info.php +3 −2 Go to diff View file
M src/www/project/admin/index.php +11 −10 Go to diff View file
M src/www/project/admin/permission_request.php +5 −3 Go to diff View file
M src/www/tracker/admin/restore.php +4 −4 Go to diff View file
M tools/plugins/plugincreationwizard/include/PluginCreationWizard.class.php +9 −9 Go to diff View file
M tools/plugins/plugincreationwizard/include/tpl/Controler.tpl +4 −4 Go to diff View file