Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1789)
+++ branches/2.8.x/CHANGELOG	(revision 1790)
@@ -13,6 +13,8 @@
 
 
 
+14 Oct-2012 Build 1790 Dietmar Woellbrink (Luisehahne)
+! update group permission, 
 14 Oct-2012 Build 1789 Dietmar Woellbrink (Luisehahne)
 ! update Group Permission, add module_advanced
 ! upgrade-script will be updating Adminitrator Group
Index: branches/2.8.x/wb/admin/groups/groups_list.inc.php
===================================================================
--- branches/2.8.x/wb/admin/groups/groups_list.inc.php	(revision 1789)
+++ branches/2.8.x/wb/admin/groups/groups_list.inc.php	(revision 1790)
@@ -76,6 +76,7 @@
 		{
 			while($rec_group = $res_groups->fetchRow(MYSQL_ASSOC))
 			{
+                if( in_array($rec_group['group_id'], explode( ',', $admin->get_session('GROUPS_ID') ) ) ) { continue; }
 				// $tpl->set_var('GROUP_ID', $admin->getIDKEY($rec_group['group_id']));
 				$tpl->set_var('GROUP_ID', $rec_group['group_id']);
 				$tpl->set_var('GROUP_NAME', $rec_group['name']);
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1789)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1790)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.3');
-if(!defined('REVISION')) define('REVISION', '1789');
+if(!defined('REVISION')) define('REVISION', '1790');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/framework/class.login.php
===================================================================
--- branches/2.8.x/wb/framework/class.login.php	(revision 1789)
+++ branches/2.8.x/wb/framework/class.login.php	(revision 1790)
@@ -204,9 +204,12 @@
 				if( ($results_array['system_permissions'] != '') ) {
                     switch ($cur_group_id) :
                         case 1:
-                            if($bOnlyAdminGroup) {
-                                $_SESSION['SYSTEM_PERMISSIONS'] = array_merge($_SESSION['SYSTEM_PERMISSIONS'], explode(',', $results_array['system_permissions']));
+                            if( $this->user_id == 1) {
+               					$_SESSION['SYSTEM_PERMISSIONS'] = array_merge($_SESSION['SYSTEM_PERMISSIONS'], explode(',', $results_array['system_permissions']));
+                            } else {
+                                $_SESSION['SYSTEM_PERMISSIONS'] = explode(',', $results_array['system_permissions']);
                             }
+
                             break;
                         default:
         					$_SESSION['SYSTEM_PERMISSIONS'] = array_merge($_SESSION['SYSTEM_PERMISSIONS'], explode(',', $results_array['system_permissions']));
@@ -232,10 +235,10 @@
 				$first_group = false;
 			}
 
-            if( $$bOnlyAdminGroup ) {
-    			$_SESSION['MODULE_PERMISSIONS'] = array();
-    			$_SESSION['TEMPLATE_PERMISSIONS'] = array();
-            }
+//            if( $$bOnlyAdminGroup ) {
+//    			$_SESSION['MODULE_PERMISSIONS'] = array();
+//    			$_SESSION['TEMPLATE_PERMISSIONS'] = array();
+//            }
 
 			// Update the users table with current ip and timestamp
 			$get_ts = time();
