Edgewall Software

Changes between Version 70 and Version 71 of TracTickets


Ignore:
Timestamp:
Apr 15, 2015, 10:04:51 PM (9 years ago)
Author:
Ryan J Ollos
Comment:

Simplify and improve wording.

Legend:

Unmodified
Added
Removed
Modified
  • TracTickets

    v70 v71  
    8181== Assign-to as Drop-Down List ==
    8282
    83 If the list of possible ticket owners is finite, you can change the ''assign-to'' ticket field from a text input to a drop-down list. This is done by setting the `restrict_owner` option of the `[ticket]` section in [wiki:TracIni trac.ini] to “true”. In that case, Trac will use the list of all users who have accessed the project to populate the drop-down field.
     83If the list of possible ticket owners is finite, you can change the ''assign-to'' ticket field from a text input to a drop-down list. This is done by setting the `restrict_owner` option of the `[ticket]` section in [wiki:TracIni trac.ini] to `true`. In that case, Trac will populate the list with all users who have authenticated with the project and possess the  `TICKET_MODIFY` [TracPermissions permissions].
    8484
    85 To appear in the dropdown list, a user needs be registered with the project, ie a user session should exist in the database. Such an entry is automatically created in the database the first time the user submits a change in the project, for example when editing the user's details in the ''Settings'' page, or simply by authenticating if the user has a login. Also, the user must have `TICKET_MODIFY` [TracPermissions permissions].
     85You may find the dropdown list is //overpopulated// with users that are no longer active in the project. Revoking authentication privileges will not remove the session data that is used to populate the dropdown list. The [wiki:TracAdmin trac-admin] command can be used to list and remove sessions:
    8686
    87 You'll find ''overpopulated'' this dropdown list if you have registered previously users than were later removed from the users list, they won't disappear from the sessions list. In order to check this sessions and purge if you need to, you can use the [wiki:TracAdmin trac-admin] suite for this:
    88 
    89  - View all sessions:
    90 {{{
     87 - List all sessions:
     88{{{#!sh
    9189trac-admin /path/to/projenv session list
    9290}}}
    9391 - Remove a session:
    94 {{{
     92{{{#!sh
    9593trac-admin /path/to/projenv session delete SID
    9694}}}
     95
     96Alternatively, you can just revoke `TICKET_MODIFY` from users that you don't want to be included in the list. However, that will not be possible if you've granted `TICKET_MODIFY` to all //anonymous// or //authenticated// users.
    9797
    9898'''Notes:'''