Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

#10105 closed defect (wontfix)

restrict_owner = true

Reported by: grzesiu_mg@… Owned by:
Priority: high Milestone:
Component: general Version: 0.12
Severity: blocker Keywords: restrict_onwer, trac.ini
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

Below I will explain my problem:

I installed trac 12.1 and plugin Tracaccountmanager. I use mod_wsgi to authenticate all user who log on to Trac. In trac.ini section [ticket] I change line restrict_owner = true.

Using the plugin Tracaccountmanager I set file in which stored all password for authenticated users (Account→Configuration). I create password for users by following command htpasswd c:\auth-file, and I log in to Trac. I choose options New ticket and in the owner field I can't select user from the drop-down list (I can't select all users who have been formed with the command htpasswd). Any idea to resolve this problem?

I tested this way: User was created by folowing command htpasswd and I logged in on this user to Trac. First i choose panel "Timeline" and then "New Ticket" and create New Ticket. After this, the user can select from the drop down box. This road is not very satisfying for me… Why cann't I select a user from the list as soon as I log into Trac and choose the option new ticket ?

Thank you in advance.

Attachments (0)

Change History (2)

in reply to:  description comment:1 by anonymous, 14 years ago

Maybe this is a problem with the refresh database? The second reason - problem with the cache in the Trac ?

Thank you in advance.

comment:2 by Remy Blank, 14 years ago

Resolution: wontfix
Status: newclosed

For users to appear in the drop-down, they have to log in at least once, so that a session is created from them. The reason this is done is to avoid groups appearing in the drop-down. For example, if you give TICKET_MODIFY to a group @developers, and then assign your developers to the group, you want the individual developer to appear in the drop-down but not the group itself.

Maybe th:AccountManagerPlugin could be enhanced to create a session for each new user (i.e. add an entry to the session table)? You may want to open an enhancement request for the plugin on trac-hacks.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.