From 2b91a86dcf778815d52e114f1234d0f53d41b439 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 18 Dec 2002 17:08:33 +0000 Subject: [PATCH] Started rewriting the user administration --- ChangeLog | 11 + header.inc.php3 | 57 +-- lang/afrikaans-iso-8859-1.inc.php3 | 38 ++ lang/afrikaans-utf-8.inc.php3 | 38 ++ lang/albanian-iso-8859-1.inc.php3 | 38 ++ lang/albanian-utf-8.inc.php3 | 38 ++ lang/arabic-utf-8.inc.php3 | 38 ++ lang/arabic-windows-1256.inc.php3 | 38 ++ lang/brazilian_portuguese-iso-8859-1.inc.php3 | 38 ++ lang/brazilian_portuguese-utf-8.inc.php3 | 38 ++ lang/bulgarian-koi8-r.inc.php3 | 38 ++ lang/bulgarian-utf-8.inc.php3 | 38 ++ lang/bulgarian-windows-1251.inc.php3 | 38 ++ lang/catalan-iso-8859-1.inc.php3 | 38 ++ lang/catalan-utf-8.inc.php3 | 38 ++ lang/chinese_big5-utf-8.inc.php3 | 38 ++ lang/chinese_big5.inc.php3 | 38 ++ lang/chinese_gb-utf-8.inc.php3 | 38 ++ lang/chinese_gb.inc.php3 | 38 ++ lang/croatian-iso-8859-2.inc.php3 | 38 ++ lang/croatian-utf-8.inc.php3 | 38 ++ lang/croatian-windows-1250.inc.php3 | 38 ++ lang/czech-iso-8859-2.inc.php3 | 38 +- lang/czech-utf-8.inc.php3 | 38 +- lang/czech-windows-1250.inc.php3 | 38 +- lang/danish-iso-8859-1.inc.php3 | 38 ++ lang/danish-utf-8.inc.php3 | 38 ++ lang/dutch-iso-8859-1.inc.php3 | 38 ++ lang/dutch-utf-8.inc.php3 | 38 ++ lang/english-iso-8859-1.inc.php3 | 38 ++ lang/english-utf-8.inc.php3 | 38 ++ lang/estonian-iso-8859-1.inc.php3 | 38 ++ lang/estonian-utf-8.inc.php3 | 38 ++ lang/finnish-iso-8859-1.inc.php3 | 38 ++ lang/finnish-utf-8.inc.php3 | 38 ++ lang/french-iso-8859-1.inc.php3 | 46 ++- lang/french-utf-8.inc.php3 | 46 ++- lang/galician-iso-8859-1.inc.php3 | 38 +- lang/galician-utf-8.inc.php3 | 38 +- lang/georgian-utf-8.inc.php3 | 38 ++ lang/german-iso-8859-1.inc.php3 | 41 +- lang/german-utf-8.inc.php3 | 39 ++ lang/greek-iso-8859-7.inc.php3 | 38 ++ lang/greek-utf-8.inc.php3 | 38 ++ lang/hebrew-iso-8859-8-i.inc.php3 | 38 ++ lang/hindi-utf-8.inc.php3 | 38 ++ lang/hungarian-iso-8859-2.inc.php3 | 38 ++ lang/hungarian-utf-8.inc.php3 | 38 ++ lang/indonesian-iso-8859-1.inc.php3 | 38 ++ lang/indonesian-utf-8.inc.php3 | 38 ++ lang/italian-iso-8859-1.inc.php3 | 38 +- lang/italian-utf-8.inc.php3 | 38 +- lang/japanese-euc.inc.php3 | 38 ++ lang/japanese-sjis.inc.php3 | 38 ++ lang/japanese-utf-8.inc.php3 | 38 ++ lang/korean-ks_c_5601-1987.inc.php3 | 38 ++ lang/latvian-utf-8.inc.php3 | 38 ++ lang/latvian-windows-1257.inc.php3 | 38 ++ lang/lithuanian-utf-8.inc.php3 | 38 ++ lang/lithuanian-windows-1257.inc.php3 | 38 ++ lang/malay-iso-8859-1.inc.php3 | 38 ++ lang/malay-utf-8.inc.php3 | 38 ++ lang/norwegian-iso-8859-1.inc.php3 | 38 +- lang/norwegian-utf-8.inc.php3 | 38 +- lang/polish-iso-8859-2.inc.php3 | 38 ++ lang/polish-utf-8.inc.php3 | 38 ++ lang/portuguese-iso-8859-1.inc.php3 | 38 ++ lang/portuguese-utf-8.inc.php3 | 38 ++ lang/romanian-iso-8859-1.inc.php3 | 38 ++ lang/romanian-utf-8.inc.php3 | 38 ++ lang/russian-dos-866.inc.php3 | 106 +++-- lang/russian-koi8-r.inc.php3 | 106 +++-- lang/russian-utf-8.inc.php3 | 106 +++-- lang/russian-windows-1251.inc.php3 | 106 +++-- lang/serbian-utf-8.inc.php3 | 38 ++ lang/serbian-windows-1250.inc.php3 | 38 ++ lang/slovak-iso-8859-2.inc.php3 | 38 ++ lang/slovak-utf-8.inc.php3 | 38 ++ lang/slovak-windows-1250.inc.php3 | 38 ++ lang/slovenian-iso-8859-2.inc.php3 | 89 +++-- lang/slovenian-utf-8.inc.php3 | 89 +++-- lang/slovenian-windows-1250.inc.php3 | 89 +++-- lang/spanish-iso-8859-1.inc.php3 | 38 ++ lang/spanish-utf-8.inc.php3 | 38 ++ lang/swedish-iso-8859-1.inc.php3 | 38 ++ lang/swedish-utf-8.inc.php3 | 38 ++ lang/thai-tis-620.inc.php3 | 38 ++ lang/thai-utf-8.inc.php3 | 38 ++ lang/turkish-iso-8859-9.inc.php3 | 38 ++ lang/turkish-utf-8.inc.php3 | 38 ++ lang/ukrainian-utf-8.inc.php3 | 38 ++ lang/ukrainian-windows-1251.inc.php3 | 38 ++ libraries/common.lib.php3 | 2 +- main.php3 | 10 +- server_links.inc.php3 | 3 + server_privileges.php3 | 361 ++++++++++++++++++ 96 files changed, 4042 insertions(+), 267 deletions(-) create mode 100644 server_privileges.php3 diff --git a/ChangeLog b/ChangeLog index cfd8e4795..a6adb8979 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,17 @@ phpMyAdmin - Changelog $Id$ $Source$ +2002-12-18 Alexander M. Turek + * main.php3, header.inc.php3, server_privileges.php3, server_links.php3, + lang/*.inc.php3: Started rewriting the user administration; changes: + - Use GRANT / REVOKE for privilege changes (feature #502465); + - Support for the new privilege system introduced with MySQL 4.0.2-beta; + - Support for user resource limits; + - Improved user friendliness. + Currently, it can only display and edit global privileges. + * libraries/common.lib.php3: Undefined index. + * lang/slovenian-*.inc.php3: Updates, thanks again to Kositer Uros (urosh). + 2002-12-18 Michal Cihar * main.php3: Since every user has access to his processlist, set is_process_priv to TRUE as default (fixes undefined variable warning). diff --git a/header.inc.php3 b/header.inc.php3 index d732f9077..a881b2d37 100755 --- a/header.inc.php3 +++ b/header.inc.php3 @@ -61,8 +61,8 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {