Edgewall Software

Ticket #4630 (closed defect: fixed)

Opened 23 months ago

Last modified 12 months ago

Flaw in ticket assignee list

Reported by: eblot Owned by:
Priority: highest Milestone: 0.11
Component: ticket system Version: devel
Severity: major Keywords: permission fixowner
Cc:

Description

I just bumped into an issue which looks like a regression (since the upgrade to Trac trunk from 0.10.3, using r4665):

The drop-down list used to assign an owner to a ticket is not filled as (I) expected. Only a few names among all the users registered on the system appear in the drop-down list.

The drop-down list content is built from the list of users that own the TICKET_MODIFY permission.

When the TICKET_MODIFY permission is only set for the special authenticated user, it seems that the list is not populated - w/ the exception of the users that own 'parent' permissions, for example the list of the administrators as TRAC_ADMIN permission leads to grant TICKET_MODIFY permission.

Many others have already been authenticated on the system:

select * from session where authenticated=='1';

reports 34 users.

Additional comment from cboos:

This is likely a regression introduced by [4625]

Attachments

Change History

Changed 19 months ago by cboos

  • keywords permission added
  • priority changed from normal to high
  • severity changed from normal to major

Confirmed by #5328.

Changed 18 months ago by eblot

  • priority changed from high to highest
  • severity changed from major to critical

Increasing the priority, as this should be fixed for 0.11

#5616 marked as another duplicate

Changed 18 months ago by eblot

  • severity changed from critical to major

Changed 18 months ago by cboos

  • owner jonas deleted
  • milestone changed from 0.11.1 to 0.11

If either cmlenz or athomas could have a look... Thanks!

Changed 17 months ago by anonymous

#5689 looks like another duplicate.

Changed 17 months ago by Kenneth Xu <kennethxu@…>

FYI, I have users in 'poweruser' group, which has TRAC_ADMIN right. They are listed in the drop down. But other authenticated users with TRAC_MODIFY are not.

Changed 17 months ago by ecarter

  • status changed from new to closed
  • resolution set to fixed

cboos is right, this is a regression from [4625]. The problem is that the optimized code did not take 'authenticated' into account.

Fixed using a brute-force inefficient solution in [5849], and I will reopen #4245.

Changed 12 months ago by cboos

  • keywords fixowner added

Add/Change #4630 (Flaw in ticket assignee list)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from (none). Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.