please note this looks like more on topic for mantisbt-dev mailing
list, where all developers are supposed to hang out...
On Thu, Jul 24, 2008 at 6:01 PM, Jennifer Mullen <jmullen@...> wrote:
> I need to customize the view states for bugs and bug notes in Mantis.
> The short version is that we need three levels: public (viewers can
> view), protected (<developer can view) and private (>=developer can
> Customizing this field hasn't proved as easy as I thought. I have it
> working pretty much as a I need now, but I would like to make it
> better. It seems that the public/private values are hard-coded
> throughout Mantis, which makes sense as only nutters like me and my
> coworkers would need different functionality.
Actually, this is the first time I see this request :)
I think you are right with your analysis; probably, the first thing to
do would be to create a "user_can_see_bugnote($userid, $noteid)
function and then modify all the rest to use that function. Then, the
logic in the function could be improved to support your request.
> Is there interest in this functionality? I'd be happy to take it up.
> The only catch is that I need to have it working by the end of August
> and I'm guessing that 1.2 won't be out by then, making it necessary to
> do in 1.1.2.
usually, the stable release (at this time 1.1.x) does not receive new
features, just bug fixes; more details in the wiki:
so you should develop against svn trunk if you want to make sure it
will eventually land in mantis.