#11900 closed defect (fixed)
TracAdmin does not display a restricted list of possible Component owners
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.3 |
Component: | ticket system | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
The list of owners displayed when completing the |
||
API Changes: |
|
||
Internal Changes: |
Description
The get_user_list method of the ComponentAdminPanel
class executes a query to retrieve the list of possible users that will be suggested as Component owners when tab-completing the command: SELECT DISTINCT username FROM permission
. When [ticket] restrict_owner
is True
, the list of possible owners for a Component is determined from the known users that have TICKET_MODIFY permission.
For an environment in which only user1
and user2
have a valid authenticated session but I've assigned permissions to several other users, I see:
> component add component4 anonymous group2 user2 user4 authenticated user1 user3 user5
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
API Changes: | modified (diff) |
---|---|
Release Notes: | modified (diff) |
Resolution: | → fixed |
Status: | assigned → closed |
Changes committed to 1.0-stable in [13615,13617], merged to trunk in [13616,13618]. Tests for [13618] added to trunk in [13619]. Tests also added on trunk in [13616] (log message is incorrect and should say Added unit-tests that couldn't be added on 1.0-stable …).
Proposed changes in log:rjollos.git:t11900.