From: Victor B. <vb...@us...> - 2006-03-21 13:06:19
|
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25608 Modified Files: manage_proj_edit_page.php Log Message: Fixed #6719: Manager of a project can assign the Administrator role to a user. Index: manage_proj_edit_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/manage_proj_edit_page.php,v retrieving revision 1.94 retrieving revision 1.95 diff -u -d -r1.94 -r1.95 --- manage_proj_edit_page.php 21 Mar 2006 12:50:24 -0000 1.94 +++ manage_proj_edit_page.php 21 Mar 2006 13:06:07 -0000 1.95 @@ -566,8 +566,8 @@ </td> <td> <select name="access_level"> - <?php # No administrator choice ?> - <?php print_project_access_levels_option_list( config_get( 'default_new_account_access_level' ) ) ?> + <?php # only access levels that are less than or equal current user access level for current project ?> + <?php print_project_access_levels_option_list( config_get( 'default_new_account_access_level' ), $f_project_id ) ?> </select> </td> <td> |