Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001031 [SysCP] Installer major always 2008-12-02 10:24 2008-12-12 17:51
Reporter RadiatioN View Status public  
Assigned To d00p
Priority normal Resolution fixed  
Status resolved   Product Version 1.4.1
Summary 0001031: after migration from 1.2.19 to 1.4.x no admin has the ability to change phpsettings
Description in the installer at version 1.2.19-svn8 a new field is added to panel_admins:

$db->query("ALTER TABLE `" . TABLE_PANEL_ADMINS . "` ADD `caneditphpsettings` tinyint(1) NOT NULL default '0' AFTER `domains_see_all`");

but it defaults to 0. afterwards NO admin becomes this rights, not even the main admin. this ticket has relation to other problems:
-> phpconfigs edit/delete
-> mabye aps problems with used/unused fields
Additional Information add code that all admins which can see all customers and can edit the serversettings become the right caneditphpsettings in panel_admins.

important: this action should only be done if NO admin has caneditphpsettings set to 1! otherwise this would produce unwanted results if an admin has changed this settings already by hand!
Tags No tags attached.
Attached Files

- Relationships
related to 0001029resolvedRadiatioN admin needs change_serversettings and changephpsettings to edit/create php configs 

-  Notes
(0000082)
EleRas (reporter)
2008-12-02 21:34

Patch acknowledged
(0000091)
RadiatioN (developer)
2008-12-02 21:58

In my opinion it looks okay, merge acknowledged

-  SVN - commits
(#2492)
d00p
2008-12-02 21:31
give at least one admin the permission to edit phpsettings, refs #1031
U branches/d00p/syscp/install/updates/1.4/update_1.4.inc.php
(#2493)
EleRas
2008-12-02 22:16
* Fixing various problems with the mennu, including:
* after migration from 1.2.19 to 1.4.x no admin has the ability to change phpsettings, fixes #1031
* Admin menu - "PHP Configurations" is showed twice, fixes #1024
* Billing-Module has doubled menuentries, fixes #1003
* APS (activation does not show the links in admin-menu), fixes #1002
* Other fixes:
* better filename for updatesql file, fixes #1018
* awstats config page broken, wrong filenames, fixes #1001
_U trunk/syscp/
U trunk/syscp/admin_settings.php
U trunk/syscp/install/syscp.sql
A trunk/syscp/install/updates/
D trunk/syscp/install/updates/1.0/
A trunk/syscp/install/updates/1.0/
D trunk/syscp/install/updates/1.0/update_1.0.10_1.2-beta1.inc.php
A trunk/syscp/install/updates/1.0/update_1.0.10_1.2-beta1.inc.php
D trunk/syscp/install/updates/1.0/update_1.0_1.0.10.inc.php
A trunk/syscp/install/updates/1.0/update_1.0_1.0.10.inc.php
D trunk/syscp/install/updates/1.2/
A trunk/syscp/install/updates/1.2/
D trunk/syscp/install/updates/1.2/update_1.2-beta1_1.2.19.inc.php
A trunk/syscp/install/updates/1.2/update_1.2-beta1_1.2.19.inc.php
D trunk/syscp/install/updates/1.2/update_1.2.19_1.4.inc.php
A trunk/syscp/install/updates/1.2/update_1.2.19_1.4.inc.php
D trunk/syscp/install/updates/1.4/
A trunk/syscp/install/updates/1.4/
D trunk/syscp/install/updates/1.4/update_1.4.inc.php
A trunk/syscp/install/updates/1.4/update_1.4.inc.php
U trunk/syscp/install/updatesql.php
D trunk/syscp/install/updatesql_1.0-1.2.inc.php
D trunk/syscp/install/updatesql_1.0.inc.php
D trunk/syscp/install/updatesql_1.2.19-20.inc.php
D trunk/syscp/install/updatesql_1.2.inc.php
D trunk/syscp/install/updatesql_1.4.inc.php
U trunk/syscp/lib/configfiles/etch.inc.php
U trunk/syscp/lib/configfiles/gentoo.inc.php
U trunk/syscp/lib/configfiles/hardy.inc.php
U trunk/syscp/lib/configfiles/suse10.inc.php
U trunk/syscp/lib/tables.inc.php
(#2494)
EleRas
2008-12-02 22:23
Deleting merged branch, refs #1031, refs #1024, refs #1003, refs #1002, refs #1018, refs #1001
D branches/d00p/syscp/
(#2497)
flo
2008-12-03 11:13
Making updater usable again, refs #1031
U trunk/syscp/install/updates/1.4/update_1.4.inc.php

- Issue History
Date Modified Username Field Change
2008-12-02 10:24 RadiatioN New Issue
2008-12-02 10:24 RadiatioN Relationship added related to 0001029
2008-12-02 10:39 RadiatioN Additional Information Updated
2008-12-02 21:32 d00p Assigned To => d00p
2008-12-02 21:32 d00p Status new => acknowledged
2008-12-02 21:32 d00p Projection none => tweak
2008-12-02 21:32 d00p ETA none => < 1 day
2008-12-02 21:32 d00p Target Version 1.4.x => 1.4.2
2008-12-02 21:32 svn Checkin
2008-12-02 21:34 EleRas Note Added: 0000082
2008-12-02 21:58 RadiatioN Note Added: 0000091
2008-12-02 22:17 svn Checkin
2008-12-02 22:17 svn Status acknowledged => resolved
2008-12-02 22:17 svn Resolution open => fixed
2008-12-02 22:23 svn Checkin
2008-12-03 11:14 svn Checkin
2008-12-12 17:51 EleRas Fixed in Version => 1.4.2
Footer