Proposal for Abstraction Layer for Modifications in Bug.pm

David Miller justdave at bugzilla.org
Sat Jul 3 00:05:48 UTC 2004


Max Kanat-Alexander wrote:

>>- Authorization, e.g. CheckCanChangeField from process_bug.cgi, would also be
>>  part of Bug.pm.
> 
> 	I was thinking the same thing.

My take on this, for ease of customization, is that the 
CheckCanChangeField function should be placed in its own .pm or .pl file 
all by itself.  If possible, with all of the "housekeeping" stuff moved 
elsewhere (back into Bug.pm?), so only things that are actually 
considered "rules" are in the file.  (There are several default rules in 
there as we ship it)

-- 
Dave Miller      Project Leader, Bugzilla Bug Tracking System
http://www.justdave.net/             http://www.bugzilla.org/



More information about the developers mailing list