Project

General

Profile

« Previous | Next » 

Revision 1816

Added by Dietmar about 12 years ago

! fixed adminstrator rights to change groups

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
11 Nov-2012 Build 1816 Dietmar Woellbrink (Luisehahne)
17
! fixed adminstrator rights to change groups
16 18
11 Nov-2012 Build 1815 Dietmar Woellbrink (Luisehahne)
17 19
! Complex code refactoring users management
18 20
10 Nov-2012 Build 1814 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1815');
54
if(!defined('REVISION')) define('REVISION', '1816');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/admin/users/user_form.php
58 58
		$oTpl->set_block('main_block', 'show_add_loginname_block', 'show_add_loginname');
59 59
		$oTpl->set_block('main_block', 'show_change_group_list_block', 'show_change_group_list');
60 60

  
61
		if( ( $admin->get_user_id() != '1' ) )
61
		if( ( !$admin->ami_group_member('1') ) )
62 62
		{
63 63
            $oTpl->set_var('CHANGING_GROUPS', 'You are not allowed to change the groups');
64 64
    		$oTpl->parse('show_change_group_list', 'show_change_group_list_block');

Also available in: Unified diff