|
|
Choosing A Webhost: |
mantisbt changelog_page.php,1.13,1.14 manage_proj_edit_page.php,1.86,1.87: msg#00037bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12752 Modified Files: changelog_page.php manage_proj_edit_page.php Log Message: fix for 0005438: *_bug_threshold set to an array in the new DB based configuration - sort access levels before determining thresholds in config*set.php - fix improper access level comparisons in changelog_page, core/filter_api, core/print_api, and core/project_api - rework project_get_all_user_rows() to make it faster and handle private projects properly (i.e., include those in config private_project_threshold) Index: manage_proj_edit_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/manage_proj_edit_page.php,v retrieving revision 1.86 retrieving revision 1.87 diff -u -d -r1.86 -r1.87 --- manage_proj_edit_page.php 31 Mar 2005 02:32:30 -0000 1.86 +++ manage_proj_edit_page.php 15 Apr 2005 22:05:15 -0000 1.87 @@ -679,9 +679,7 @@ # You need global or project-specific permissions to remove users # from this project if ( access_has_project_level( config_get( 'project_user_threshold' ), $f_project_id ) ) { - if ( project_includes_user( $f_project_id, $t_user['id'] ) ) { - print_bracket_link( 'manage_proj_user_remove.php?project_id=' . $f_project_id, lang_get( 'remove_all_link' ) ); - } + print_bracket_link( 'manage_proj_user_remove.php?project_id=' . $f_project_id, lang_get( 'remove_all_link' ) ); } ?> </td> Index: changelog_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/changelog_page.php,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- changelog_page.php 13 Feb 2005 21:36:16 -0000 1.13 +++ changelog_page.php 15 Apr 2005 22:05:14 -0000 1.14 @@ -67,7 +67,7 @@ $t_can_view_private = access_has_project_level( config_get( 'private_bug_threshold' ), $t_project_id ); $t_limit_reporters = config_get( 'limit_reporters' ); - $t_user_access_level_is_reporter = ( current_user_get_access_level() <= config_get( 'report_bug_threshold' ) ); + $t_user_access_level_is_reporter = access_has_project_level( config_get( 'report_bug_threshold' ), $t_project_id ); $t_resolved = config_get( 'bug_resolved_status_threshold' ); $t_bug_table = config_get( 'mantis_bug_table' ); ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | mantisbt/core project_api.php,1.68,1.69 user_api.php,1.95,1.96, Glenn Henshaw |
|---|---|
| Next by Date: | mantisbt/core filter_api.php,1.98,1.99 print_api.php,1.126,1.127 project_api.php,1.69,1.70 utility_api.php,1.18,1.19, Glenn Henshaw |
| Previous by Thread: | mantisbt/core project_api.php,1.68,1.69 user_api.php,1.95,1.96, Glenn Henshaw |
| Next by Thread: | mantisbt/core filter_api.php,1.98,1.99 print_api.php,1.126,1.127 project_api.php,1.69,1.70 utility_api.php,1.18,1.19, Glenn Henshaw |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |