summaryrefslogtreecommitdiffstats
path: root/docs/html/useradmin.html
blob: 6b3e87d976d994d76460eeb5c7a1a9bef4b3ee07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<HTML
><HEAD
><TITLE
>User Administration</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="The Bugzilla Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Administering Bugzilla"
HREF="administration.html"><LINK
REL="PREVIOUS"
TITLE="Post-Installation Checklist"
HREF="postinstall-check.html"><LINK
REL="NEXT"
TITLE="Product, Component, Milestone, and Version
      Administration"
HREF="programadmin.html"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The Bugzilla Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="postinstall-check.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 4. Administering Bugzilla</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="programadmin.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="USERADMIN"
>4.2. User Administration</A
></H1
><P
>      User administration is one of the easiest parts of Bugzilla.
      Keeping it from getting out of hand, however, can become a
      challenge.
    </P
><DIV
CLASS="SECTION"
><H2
CLASS="SECTION"
><A
NAME="DEFAULTUSER"
>4.2.1. Creating the Default User</A
></H2
><P
>	When you first run checksetup.pl after installing Bugzilla, it
	will prompt you for the administrative username (email
	address) and password for this "super user". If for some
	reason you were to delete the "super user" account, re-running
	checksetup.pl will again prompt you for this username and
	password.
      </P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>       If you wish to add more administrative users, you must use the
	  MySQL interface. Run "mysql" from the command line, and use
	  these commands ("mysql&#62;" denotes the  mysql prompt, not
	  something you should type in):
	  <B
CLASS="COMMAND"
><TT
CLASS="PROMPT"
>mysql&#62;</TT
> use bugs;</B
>
	  <B
CLASS="COMMAND"
><TT
CLASS="PROMPT"
>mysql&#62;</TT
> update profiles set
	    groupset=0x7ffffffffffffff where login_name = "(user's
	    login name)"; </B
>
	</P
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="SECTION"
><H2
CLASS="SECTION"
><A
NAME="MANAGEUSERS"
>4.2.2. Managing Other Users</A
></H2
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="LOGIN"
>4.2.2.1. Logging In</A
></H3
><P
></P
><OL
TYPE="1"
><LI
><P
>	      Open the index.html page for your Bugzilla installation
	      in your browser window.
	    </P
></LI
><LI
><P
>	      Click the "Query Existing Bug Reports" link.
	    </P
></LI
><LI
><P
>	      Click the "Log In" link at the foot of the page.
	    </P
></LI
><LI
><P
>	      Type your email address, and the password which was
	      emailed to you when you created your Bugzilla account,
	      into the spaces provided.
	    </P
></LI
></OL
><P
>Congratulations, you are logged in!</P
></DIV
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="CREATENEWUSERS"
>4.2.2.2. Creating new users</A
></H3
><P
>	  Your users can create their own user accounts by clicking
	  the "New Account" link at the bottom of each page. However,
	  should you desire to create user accounts ahead of time,
	  here is how you do it.
	</P
><P
></P
><OL
TYPE="1"
><LI
><P
>	      After logging in, click the "Users" link at the footer
	      of the query page.
	    </P
></LI
><LI
><P
>	      To see a specific user, type a portion of their login
	      name in the box provided and click "submit". To see all
	      users, simply click the "submit" button. You must click
	      "submit" here to be able to add a new user.
	    </P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>		More functionality is available via the list on the
		right-hand side of the text entry box. You can match
		what you type as a case-insensitive substring (the
		default) of all users on your system, a case-sensitive
		regular expression (please see the "man regexp" manual
		page for details on regular expression syntax), or a
		<EM
>reverse</EM
> regular expression match,
		where every user name which does NOT match the regular
		expression is selected.
	      </P
></TD
></TR
></TABLE
></DIV
></LI
><LI
><P
>	      Click the "Add New User" link at the bottom of the user
	      list
	    </P
></LI
><LI
><P
>	      Fill out the form presented.  This page is
	      self-explanatory.  When done, click "submit".
	    </P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>		Adding a user this way will <EM
>not</EM
>
		send an email informing them of their username and
		password. In general, it is preferable to log out and
		use the "New Account" 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
></TD
></TR
></TABLE
></DIV
></LI
></OL
></DIV
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="DISABLEUSERS"
>4.2.2.3. Disabling Users</A
></H3
><P
>	  I bet you noticed that big "Disabled Text" entry box
	  available from the "Add New User" screen, when you edit an
	  account? By entering any text in this box and selecting
	  "submit", you have prevented the user from using Bugzilla
	  via the web interface. Your explanation, written in this
	  text box, will be presented to the user the next time she
	  attempts to use the system.
	  <DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>	      Don't disable your own administrative account, or you
	      will hate life!
	    </P
></TD
></TR
></TABLE
></DIV
>
	</P
></DIV
><DIV
CLASS="SECTION"
><H3
CLASS="SECTION"
><A
NAME="MODIFYUSERS"
>4.2.2.4. Modifying Users</A
></H3
><P
>	  Here I will attempt to describe the function of each option
	  on the Edit User screen.
	</P
><P
></P
><UL
><LI
><P
>	      <EM
>Login Name</EM
>: This is generally the
	      user's email address. However, if you have edited your
	      system parameters, this may just be the user's login
	      name or some other identifier.
	      <DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>		  For compatability reasons, you should probably stick
		  with email addresses as user login names.  It will
		  make your life easier.
		</P
></TD
></TR
></TABLE
></DIV
>
	    </P
></LI
><LI
><P
>	      <EM
>Real Name</EM
>: Duh!
	    </P
></LI
><LI
><P
>	      <EM
>Password</EM
>: You will only see
	      asterisks in versions of Bugzilla newer than 2.10 or
	      early 2.11.  You can change the user password here.
	    </P
></LI
><LI
><P
>	      <EM
>Email Notification</EM
>: You may choose
	      from one of three options:
	      <P
></P
><OL
TYPE="1"
><LI
><P
>		    All qualifying bugs except those which I change:
		    The user will be notified of any change to any bug
		    for which she is the reporter, assignee, QA
		    Contact, CC recipient, or "watcher".
		  </P
></LI
><LI
><P
>		    Only those bugs which I am listed on the CC line:
		    The user will not be notified of changes to bugs
		    where she is the assignee, reporter, or QA
		    Contact, but will receive them if she is on the CC
		    list.
		    <DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>			She will still receive whining cron emails if
			you set up the "whinemail" feature.
		      </P
></TD
></TR
></TABLE
></DIV
>
		  </P
></LI
><LI
><P
>		    <EM
>All Qualifying Bugs</EM
>: This
		    user is a glutton for punishment. If her name is
		    in the reporter, QA Contact, CC, assignee, or is a
		    "watcher", she will get email updates regarding
		    the bug.
		  </P
></LI
></OL
></P
><P
>	      <EM
>Disable Text</EM
>: If you type anything
	      in this box, including just a space, the user account is
	      disabled from making any changes to bugs via the web
	      interface, and what you type in this box is presented as
	      the reason.
	      <DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Don't disable the administrator account!</P
></TD
></TR
></TABLE
></DIV
>
	      <DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>		  As of this writing, the user can still submit bugs
		  via the e-mail gateway, if you set it up, despite
		  the disabled text field.  The e-mail gateway should
		  <EM
>not</EM
> be enabled for secure
		  installations of Bugzilla.
		</P
></TD
></TR
></TABLE
></DIV
>
	    </P
></LI
><LI
><P
>	      <EM
>CanConfirm</EM
>: This field is only used
	      if you have enabled "unconfirmed" status in your
	      parameters screen.  If you enable this for a user, that
	      user can then move bugs from "Unconfirmed" to
	      "Confirmed" status (e.g.: "New" status). Be judicious
	      about allowing users to turn this bit on for other
	      users.
	    </P
></LI
><LI
><P
>	      <EM
>Creategroups</EM
>: This option will
	      allow a user to create and destroy groups in Bugzilla.
	      Unless you are using the Bugzilla GroupSentry security
	      option "usebuggroupsentry" in your parameters, this
	      setting has no effect.
	    </P
></LI
><LI
><P
>	      <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.  
	      <DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>		  Leaving this option unchecked does not prevent users
		  from adding comments to a bug!  They simply cannot
		  change a bug priority, severity, etc. unless they
		  are the assignee or reporter.
		</P
></TD
></TR
></TABLE
></DIV
>
	    </P
></LI
><LI
><P
>	      <EM
>Editcomponents</EM
>: This flag allows a
	      user to create new  products and components, as well as
	      modify 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.  The name of a product or
	      component can be changed without affecting the
	      associated bugs, but it tends to annoy the hell out of
	      your users when these change a lot.
	    </P
></LI
><LI
><P
>	      <EM
>Editkeywords</EM
>: If you use Bugzilla's
	      keyword functionality, enabling this feature allows a
	      user can create and destroy keywords. As always, the
	      keywords for existing bugs containing the keyword the
	      user wishes to destroy must be changed before Bugzilla
	      will allow it to die. You must be very careful about
	      creating too many new keywords if you run a very large
	      Bugzilla installation; keywords are global variables
	      across products, and you can often run into a phenomenon
	      called "keyword bloat". This confuses users, and then
	      the feature goes unused.
	    </P
></LI
><LI
><P
>	      <EM
>Editusers</EM
>: This flag allows a user
	      do what you're doing right now: edit other users. This
	      will allow those with the right to do so to remove
	      administrator priveleges from other users or grant them
	      to themselves.  Enable with care.
	    </P
></LI
><LI
><P
>	      <EM
>PRODUCT</EM
>: PRODUCT bugs access.  This
	      allows an administrator, with product-level granularity,
	      to specify in which products a user can edit bugs.  The
	      user must still have the "editbugs" privelege to edit
	      bugs in this area; this simply restricts them from even
	      seeing bugs outside these boundaries if the
	      administrator has enabled the group sentry parameter
	      "usebuggroupsentry".  Unless you are using bug groups,
	      this option has no effect.
	    </P
></LI
></UL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="postinstall-check.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="programadmin.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Post-Installation Checklist</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="administration.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Product, Component, Milestone, and Version
      Administration</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>