Obligatory apologies: I still haven't received my
registration confirmation
token for the mantis bt, so I'm posting here before I forget
/ misplace
this.
Bug:
- bug_report.php - if project_id is unspecified, mantis
creates an invisible
issue
(i.e., not visible even if "All projects" is
selected)
Feature Request:
- bug_report.php (and bugnote_add.php) - allow authenticated
administrator
user to override reporter ID, e.g.,
< $t_bug_data->reporter_id =
auth_get_current_user_id();
---
>$c_user_id = auth_get_current_user_id();
>$t_reporter_id = gpc_get_string( 'reporter_id',
$c_user_id );
>if (($t_reporter_id !== $c_user_id ) &&
(access_get_global_level() ==
>ADMINISTRATOR)) {
> $t_bug_data->reporter_id = $t_user_id;
>} else {
> $t_bug_data->reporter_id = $c_user_id;
>}
Background:
I'm writing a script to import sourceforge tracker issues
into mantis using
the web interface. This has the advantage of (1)
authenticating the bug
reporter/commenter, (2) allows mantis to enforce rules
(e.g., mandatory
fields), (3) not mucking with the database directly, and (4)
not requiring
customization.
____________________________________________________________
_____
Enter the "Telus Mobility Xbox a Day" contest for
your chance to WIN! Telus
Mobility is giving away an Microsoft Xbox® 360 every day
from November 20 to
December 31, 2006! Just download Windows Live (MSN)
Messenger to your
IM-capable TELUS mobile phone, and you could be a winner!
http://www.telu
smobility.com/msnxbox/
------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.php?page=join
.php&p=sourceforge&CID=DEVDEV_______________________
________________________
Mantisbt-dev mailing list
Mantisbt-dev lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mantisbt-d
ev
|