|
|
Choosing A Webhost: |
mantisbt/core filter_api.php,1.121,1.122: msg#00067bug-tracking.mantis.cvs
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26092/core Modified Files: filter_api.php Log Message: fix for 0006189: List of users (in filter) visible for unauthorized users. - obeys view_handler_threshold setting Index: filter_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/filter_api.php,v retrieving revision 1.121 retrieving revision 1.122 diff -u -d -r1.121 -r1.122 --- filter_api.php 11 Aug 2005 16:20:13 -0000 1.121 +++ filter_api.php 26 Aug 2005 17:05:11 -0000 1.122 @@ -1046,7 +1046,10 @@ $t_show_version = ( ON == config_get( 'show_product_version' ) ) || ( ( AUTO == config_get( 'show_product_version' ) ) && ( count( version_get_all_rows_with_subs( $t_project_id ) ) > 0 ) ); - + # overload handler_id setting if user isn't supposed to see them (ref #6189) + if ( ! access_has_project_level( config_get( 'view_handler_threshold' ), $t_project_id ) ) { + $t_filter['handler_id'] = array( META_FILTER_ANY ); + } ?> <tr <?php PRINT "class=\"" . $t_trclass . "\""; ?>> @@ -2585,6 +2588,7 @@ <!-- Handler --> <select <?php PRINT $t_select_modifier;?> name="handler_id[]"> <option value="<?php echo META_FILTER_ANY ?>" <?php check_selected( $t_filter['handler_id'], META_FILTER_ANY ); ?>>[<?php echo lang_get( 'any' ) ?>]</option> + <?php if ( access_has_project_level( config_get( 'view_handler_threshold' ) ) ) { ?> <option value="<?php echo META_FILTER_NONE ?>" <?php check_selected( $t_filter['handler_id'], META_FILTER_NONE ); ?>>[<?php echo lang_get( 'none' ) ?>]</option> <?php if ( access_has_project_level( config_get( 'handle_bug_threshold' ) ) ) { @@ -2594,6 +2598,7 @@ } ?> <?php print_assign_to_option_list( $t_filter['handler_id'] ) ?> + <?php } ?> </select> <?php } ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | web directory.php,1.35,1.36, Victor Boctor |
|---|---|
| Next by Date: | web bot.php,1.5,1.6, Victor Boctor |
| Previous by Thread: | web directory.php,1.35,1.36, Victor Boctor |
| Next by Thread: | web bot.php,1.5,1.6, Victor Boctor |
| 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 |
Home
| advertise | OSDir is
an inevitable website.
|