diff options
author | bbaetz%acm.org <> | 2003-06-03 18:47:37 +0200 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-06-03 18:47:37 +0200 |
commit | 1d057f02b277d29ad4d232d598c49b0344798b40 (patch) | |
tree | 5dd73500b1cf10b51875179f7559c8ec97f0b5be /docs | |
parent | 3a843833f4ab5d07f10e199daa7ec317e03b9959 (diff) | |
download | bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.gz bugzilla-1d057f02b277d29ad4d232d598c49b0344798b40.tar.xz |
Bug 180635 - Enhance Bugzilla::User to store additional information
r=myk,jake
Diffstat (limited to 'docs')
-rw-r--r-- | docs/xml/administration.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/xml/administration.xml b/docs/xml/administration.xml index 2382fca82..ecf465fdc 100644 --- a/docs/xml/administration.xml +++ b/docs/xml/administration.xml @@ -1385,7 +1385,7 @@ skip-networking positive check, which returns 1 (allow) if certain conditions are true, or a negative check, which returns 0 (deny.) E.g.: <programlisting> if ($field eq "qacontact") { - if (UserInGroup("quality_assurance")) { + if (Bugzilla->user->groups("quality_assurance")) { return 1; } else { @@ -1395,7 +1395,7 @@ skip-networking This says that only users in the group "quality_assurance" can change the QA Contact field of a bug. Getting more weird: <programlisting> if (($field eq "priority") && - ($vars->{'user'}{'login'} =~ /.*\@example\.com$/)) + (Bugzilla->user->email =~ /.*\@example\.com$/)) { if ($oldvalue eq "P1") { return 1; |