Re: Public vs private
Jim4Prez <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.mantis.general |
|---|---|
| Message-ID | <[email protected]> |
On Fri, May 29, 2009 at 7:56 AM, John Reese <[email protected]> wrote: > Where I work, we decided to just set the thresholds high enough that nobody > could set things to private, not even admins. Otherwise, AFAIK, there is no way to disabe it altogether. > > Jon Hardcastle <jd_hardcastle-/[email protected]> wrote: >> >>Hi can anyone tell me if it is possible to completely remove the use of public vs private? You could also change the 1.x code and just "hide" stuff if you want. This is what I have done, until I get to play with the next version. My managers didn't want some of the "required" fields and also the public vs. private. I started to play with permissions but it only covered certain fields so I just went into the PHP/HTML mish-mash(I am used to separation of code and markup) and changed what I needed for the display. If you look at the PHP/HTML mish-mash you can see where the form posts to. Edit the HTML portion to hide/remove what you don't need and then just check the PHP file that the form posts to and make sure everything is good to go. (Question, does version 2.x use a code/markup separation layer?) (Mixing HTML and script/code is too ASP-like for me and about 5 years out of date) Don't get me wrong. I like Mantis. Just wish the code base wasn't HTML-mash-PHP. Note: I have only used the 1.x version. It works well for our dev requests, however, changing the code sucks. You have to worry too much about the HTML, where a PHP tag starts, ends, etc. because HTML/Markup is mixed with code. This is the whole reason why C#/Java have developed great layer separation. Isn't there something out there for PHP? Jim ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get