Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

mantisbt changelog_page.php,1.13,1.14 manage_proj_edit_page.php,1.86,1.87: msg#00037

bug-tracking.mantis.cvs

Subject: mantisbt changelog_page.php,1.13,1.14 manage_proj_edit_page.php,1.86,1.87

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>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation