Commit 618959cb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 364780: The keyword cache cannot be fixed with editkeywords privs only -…

Bug 364780: The keyword cache cannot be fixed with editkeywords privs only - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=justdave
parent f9f63fd6
......@@ -122,6 +122,6 @@
[% '<link rel="Administration" title="Whining"
href="editwhines.cgi">' IF user.groups.bz_canusewhines %]
[% '<link rel="Administration" title="Sanity Check"
href="sanitycheck.cgi">' IF user.groups.tweakparams %]
href="sanitycheck.cgi">' IF user.groups.editcomponents %]
[% END %]
[% END %]
......@@ -48,6 +48,8 @@
<li><span class="separator">[% sep %]</span><a href="editparams.cgi">Parameters</a></li>
[% sep = "| " %]
<li><span class="separator">[% sep %]</span><a href="editsettings.cgi">User Preferences</a></li>
[% END %]
[% IF user.groups.editcomponents %]
<li><span class="separator">[% sep %]</span><a href="sanitycheck.cgi">Sanity Check</a></li>
[% END %]
[% IF user.groups.editusers || user.can_bless %]
......
......@@ -94,7 +94,7 @@ function normal_keypress_handler( aEvent ) {
[%- IF user.groups.bz_canusewhines %]
<text class="text-link" onclick="load_relative_url('editwhines.cgi')" value="edit whining"/>
[%- END %]
[%- IF user.groups.tweakparams %]
[%- IF user.groups.editcomponents %]
<text class="text-link" onclick="load_relative_url('sanitycheck.cgi')" value="sanity check"/>
[%- END %]
[%- IF user.authorizer.can_logout %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment