Configurable Access On Value Transitions?

Gervase Markham gerv at mozilla.org
Fri Sep 13 17:49:17 UTC 2002


MattyT wrote:
> Problem
> -------
> 
> ( Configurable Access Policy Proposal )

Any sort of Configurable Access Policies will require extra database 
lookups for each change, to make sure the changes are allowed. I share 
Myk's concerns about performance; therefore, I think it's reasonable to 
ask:

- Which Bugzilla installations want this feature?
- If there is demand, do they want a variety of things or the same sort 
of thing?
- would a simple system suffice?

For example, if we rearranged CheckCanChangeField() a bit, and commented 
it better, many sites' needs could be accommodated by a little bit of 
local Perl hacking in there.
e.g.
if ($field eq "foo" &&
     $from = "somevalue" &&
     $to = "someothervalue" &&
     !UserInGroup("somegroup")
{
   reject = 1;
}

Gerv





More information about the developers mailing list