Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 4e237fd705495e1e21ef20696443e053 > files > 950

bugzilla-5.0.4-3.mga7.noarch.rpm


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>4.3. Users &#8212; Bugzilla 5.0.4 documentation</title>
    <link rel="stylesheet" href="../_static/bugzilla.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '5.0.4',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true,
        SOURCELINK_SUFFIX: '.txt'
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="4.4. Classifications, Products, Components, Versions, and Milestones" href="categorization.html" />
    <link rel="prev" title="4.2. Default Preferences" href="preferences.html" /> 
  </head>
  <body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="categorization.html" title="4.4. Classifications, Products, Components, Versions, and Milestones"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="preferences.html" title="4.2. Default Preferences"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">Bugzilla 5.0.4 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="index.html" accesskey="U">4. Administration Guide</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="users">
<span id="id1"></span><h1>4.3. Users<a class="headerlink" href="#users" title="Permalink to this headline">¶</a></h1>
<div class="section" id="creating-admin-users">
<span id="defaultuser"></span><h2>4.3.1. Creating Admin Users<a class="headerlink" href="#creating-admin-users" title="Permalink to this headline">¶</a></h2>
<p>When you first run checksetup.pl after installing Bugzilla, it will
prompt you for the username (email address) and password for the first
admin user. If for some reason you delete all the admin users,
re-running checksetup.pl will again prompt you for a username and
password and make a new admin.</p>
<p>If you wish to add more administrative users, add them to the &quot;admin&quot; group.</p>
</div>
<div class="section" id="searching-for-users">
<span id="user-account-search"></span><h2>4.3.2. Searching For Users<a class="headerlink" href="#searching-for-users" title="Permalink to this headline">¶</a></h2>
<p>If you have <code class="docutils literal"><span class="pre">editusers</span></code> privileges or if you are allowed
to grant privileges for some groups, the <span class="guilabel">Users</span> link
will appear in the Administration page.</p>
<p>The first screen is a search form to search for existing user
accounts. You can run searches based either on the user ID, real
name or login name (i.e. the email address, or just the first part
of the email address if the <span class="param">emailsuffix</span> parameter is set).
The search can be conducted
in different ways using the listbox to the right of the text entry
box. You can match by case-insensitive substring (the default),
regular expression, a <em>reverse</em> regular expression
match (which finds every user name which does NOT match the regular
expression), or the exact string if you know exactly who you are
looking for. The search can be restricted to users who are in a
specific group. By default, the restriction is turned off.</p>
<p>The search returns a list of
users matching your criteria. User properties can be edited by clicking
the login name. The Account History of a user can be viewed by clicking
the &quot;View&quot; link in the Account History column. The Account History
displays changes that have been made to the user account, the time of
the change and the user who made the change. For example, the Account
History page will display details of when a user was added or removed
from a group.</p>
</div>
<div class="section" id="modifying-users">
<span id="modifyusers"></span><h2>4.3.3. Modifying Users<a class="headerlink" href="#modifying-users" title="Permalink to this headline">¶</a></h2>
<p>Once you have found your user, you can change the following
fields:</p>
<ul>
<li><p class="first"><em>Login Name</em>:
This is generally the user's full email address. However, if you
have are using the <span class="param">emailsuffix</span> parameter, this may
just be the user's login name. Unless you turn off the
<span class="param">allowemailchange</span> parameter, users can change their
login names themselves (to any valid email address).</p>
</li>
<li><p class="first"><em>Real Name</em>: The user's real name. Note that
Bugzilla does not require this to create an account.</p>
</li>
<li><p class="first"><em>Password</em>:
You can change the user's password here. Users can automatically
request a new password, so you shouldn't need to do this often.
If you want to disable an account, see Disable Text below.</p>
</li>
<li><p class="first"><em>Bugmail Disabled</em>:
Mark this checkbox to disable bugmail and whinemail completely
for this account. This checkbox replaces the data/nomail file
which existed in older versions of Bugzilla.</p>
</li>
<li><p class="first"><em>Disable Text</em>:
If you type anything in this box, including just a space, the
user is prevented from logging in and from making any changes to
bugs via the web interface.
The HTML you type in this box is presented to the user when
they attempt to perform these actions and should explain
why the account was disabled.
Users with disabled accounts will continue to receive
mail from Bugzilla; furthermore, they will not be able
to log in themselves to change their own preferences and
stop it. If you want an account (disabled or active) to
stop receiving mail, simply check the
<code class="docutils literal"><span class="pre">Bugmail</span> <span class="pre">Disabled</span></code> checkbox above.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Even users whose accounts have been disabled can still
submit bugs via the email gateway, if one exists.
The email gateway should <em>not</em> be
enabled for secure installations of Bugzilla.</p>
</div>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">Don't disable all the administrator accounts!</p>
</div>
</li>
<li><p class="first"><em>&lt;groupname&gt;</em>:
If you have created some groups, e.g. &quot;securitysensitive&quot;, then
checkboxes will appear here to allow you to add users to, or
remove them from, these groups. The first checkbox gives the
user the ability to add and remove other users as members of
this group. The second checkbox adds the user himself as a member
of the group.</p>
</li>
<li><p class="first"><em>canconfirm</em>:
This field is only used if you have enabled the &quot;unconfirmed&quot;
status. If you enable this for a user,
that user can then move bugs from &quot;Unconfirmed&quot; to a &quot;Confirmed&quot;
status (e.g.: &quot;New&quot; status).</p>
</li>
<li><p class="first"><em>creategroups</em>:
This option will allow a user to create and destroy groups in
Bugzilla.</p>
</li>
<li><p class="first"><em>editbugs</em>:
Unless a user has this bit set, they can only edit those bugs
for which they are the assignee or the reporter. Even if this
option is unchecked, users can still add comments to bugs.</p>
</li>
<li><p class="first"><em>editcomponents</em>:
This flag allows a user to create new products and components,
modify existing products and components, and destroy those that have
no bugs associated with them. If a product or component has bugs
associated with it, those bugs must be moved to a different product
or component before Bugzilla will allow them to be destroyed.</p>
</li>
<li><p class="first"><em>editkeywords</em>:
If you use Bugzilla's keyword functionality, enabling this
feature allows a user to create and destroy keywords. A keyword
must be removed from any bugs upon which it is currently set
before it can be destroyed.</p>
</li>
<li><p class="first"><em>editusers</em>:
This flag allows a user to do what you're doing right now: edit
other users. This will allow those with the right to do so to
remove administrator privileges from other users or grant them to
themselves. Enable with care.</p>
</li>
<li><p class="first"><em>tweakparams</em>:
This flag allows a user to change Bugzilla's Params
(using <code class="file docutils literal"><span class="pre">editparams.cgi</span></code>.)</p>
</li>
<li><p class="first"><em>&lt;productname&gt;</em>:
This allows an administrator to specify the products
in which a user can see bugs. If you turn on the
<span class="param">makeproductgroups</span> parameter in
the Group Security Panel in the Parameters page,
then Bugzilla creates one group per product (at the time you create
the product), and this group has exactly the same name as the
product itself. Note that for products that already exist when
the parameter is turned on, the corresponding group will not be
created. The user must still have the <span class="group">editbugs</span>
privilege to edit bugs in these products.</p>
</li>
</ul>
</div>
<div class="section" id="creating-new-users">
<span id="createnewusers"></span><h2>4.3.4. Creating New Users<a class="headerlink" href="#creating-new-users" title="Permalink to this headline">¶</a></h2>
<div class="section" id="self-registration">
<span id="id2"></span><h3>4.3.4.1. Self-Registration<a class="headerlink" href="#self-registration" title="Permalink to this headline">¶</a></h3>
<p>By default, users can create their own user accounts by clicking the
<code class="docutils literal"><span class="pre">New</span> <span class="pre">Account</span></code> link at the bottom of each page (assuming
they aren't logged in as someone else already). If you want to disable
this self-registration, or if you want to restrict who can create their
own user account, you have to edit the <span class="param">createemailregexp</span>
parameter in the <code class="docutils literal"><span class="pre">Configuration</span></code> page; see
<a class="reference internal" href="parameters.html#parameters"><span class="std std-ref">Parameters</span></a>.</p>
</div>
<div class="section" id="administrator-registration">
<span id="user-account-creation"></span><h3>4.3.4.2. Administrator Registration<a class="headerlink" href="#administrator-registration" title="Permalink to this headline">¶</a></h3>
<p>Users with <code class="docutils literal"><span class="pre">editusers</span></code> privileges, such as administrators,
can create user accounts for other users:</p>
<ol class="arabic">
<li><p class="first">After logging in, click the &quot;Users&quot; link at the footer of
the query page, and then click &quot;Add a new user&quot;.</p>
</li>
<li><p class="first">Fill out the form presented. This page is self-explanatory.
When done, click &quot;Submit&quot;.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">Adding a user this way will <em>not</em>
send an email informing them of their username and password.
While useful for creating dummy accounts (watchers which
shuttle mail to another system, for instance, or email
addresses which are a mailing list), in general it is
preferable to log out and use the <code class="docutils literal"><span class="pre">New</span> <span class="pre">Account</span></code>
button to create users, as it will pre-populate all the
required fields and also notify the user of her account name
and password.</p>
</div>
</li>
</ol>
</div>
</div>
<div class="section" id="deleting-users">
<span id="user-account-deletion"></span><h2>4.3.5. Deleting Users<a class="headerlink" href="#deleting-users" title="Permalink to this headline">¶</a></h2>
<p>If the <span class="param">allowuserdeletion</span> parameter is turned on (see
<a class="reference internal" href="parameters.html#parameters"><span class="std std-ref">Parameters</span></a>) then you can also delete user accounts.
Note that, most of the time, this is not the best thing to do. If only
a warning in a yellow box is displayed, then the deletion is safe.
If a warning is also displayed in a red box, then you should NOT try
to delete the user account, else you will get referential integrity
problems in your database, which can lead to unexpected behavior,
such as bugs not appearing in bug lists anymore, or data displaying
incorrectly. You have been warned!</p>
</div>
<div class="section" id="impersonating-users">
<span id="impersonatingusers"></span><h2>4.3.6. Impersonating Users<a class="headerlink" href="#impersonating-users" title="Permalink to this headline">¶</a></h2>
<p>There may be times when an administrator would like to do something as
another user.  The <strong class="command">sudo</strong> feature may be used to do
this.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">To use the sudo feature, you must be in the
<em>bz_sudoers</em> group.  By default, all
administrators are in this group.</p>
</div>
<p>If you have access to this feature, you may start a session by
going to the Edit Users page, Searching for a user and clicking on
their login.  You should see a link below their login name titled
&quot;Impersonate this user&quot;.  Click on the link.  This will take you
to a page where you will see a description of the feature and
instructions for using it.  After reading the text, simply
enter the login of the user you would like to impersonate, provide
a short message explaining why you are doing this, and press the
button.</p>
<p>As long as you are using this feature, everything you do will be done
as if you were logged in as the user you are impersonating.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">The user you are impersonating will not be told about what you are
doing.  If you do anything that results in mail being sent, that
mail will appear to be from the user you are impersonating.  You
should be extremely careful while using this feature.</p>
</div>
<hr class="docutils" />
<p>This documentation undoubtedly has bugs; if you find some, please file
them <a class="reference external" href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla&amp;component=Documentation">here</a>.</p>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
            <p class="logo"><a href="../index.html">
              <img class="logo" src="../_static/bugzilla.png" alt="Logo"/>
            </a></p>
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">4.3. Users</a><ul>
<li><a class="reference internal" href="#creating-admin-users">4.3.1. Creating Admin Users</a></li>
<li><a class="reference internal" href="#searching-for-users">4.3.2. Searching For Users</a></li>
<li><a class="reference internal" href="#modifying-users">4.3.3. Modifying Users</a></li>
<li><a class="reference internal" href="#creating-new-users">4.3.4. Creating New Users</a><ul>
<li><a class="reference internal" href="#self-registration">4.3.4.1. Self-Registration</a></li>
<li><a class="reference internal" href="#administrator-registration">4.3.4.2. Administrator Registration</a></li>
</ul>
</li>
<li><a class="reference internal" href="#deleting-users">4.3.5. Deleting Users</a></li>
<li><a class="reference internal" href="#impersonating-users">4.3.6. Impersonating Users</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="preferences.html"
                        title="previous chapter">4.2. Default Preferences</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="categorization.html"
                        title="next chapter">4.4. Classifications, Products, Components, Versions, and Milestones</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="categorization.html" title="4.4. Classifications, Products, Components, Versions, and Milestones"
             >next</a></li>
        <li class="right" >
          <a href="preferences.html" title="4.2. Default Preferences"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="../index.html">Bugzilla 5.0.4 documentation</a> &#187;</li>
          <li class="nav-item nav-item-1"><a href="index.html" >4. Administration Guide</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.6.
    </div>
  </body>
</html>