Opened 14 years ago
Closed 13 years ago
#8640 closed defect (invalid)
restrict_owner=true
Reported by: | Owned by: | Steffen Hoffmann | |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | ticket restrict owner |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
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?
Thank you in advance.
Attachments (0)
Change History (8)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Replying to grzesiu_mg@o2.pl:
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 linerestrict_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?Thank you in advance..
comment:4 Changed 14 years ago by
I think this is not a plugin issue. We uses to solve this issue by requesting the new users to:
- log-in
- edit and save any wiki page
After this users will be shown on pull-down menu.
Hope have helped you.
comment:5 follow-up: 6 Changed 14 years ago by
P/S: we consider this behavior acceptable, i.e. a user have to know how to log-in a Trac instance and acknowledge / agree he is going to receive assignment from now on.
comment:6 Changed 14 years ago by
I know that this will help, but I'm looking for another way to solve this problem. Suppose a new user logs on to Trac and would like to create a new ticket. He may not know that he first need to edit the wiki page, then his nickname appears in the drop-down list. (unless he is previously trained with the maintenance)
I reviewed the files from the python directories, but have not yet found a solution.
Thank you in advance.
comment:7 Changed 13 years ago by
Component: | SELECT A HACK → AccountManagerPlugin |
---|---|
Owner: | changed from anonymous to Steffen Hoffmann |
Yet another incorrectly filed ticket.
comment:8 Changed 13 years ago by
Keywords: | ticket restrict owner added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Replying to grzesiu_mg@o2.pl:
[...] 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?
First of all, be reasonable. You don't know, but you created this bug report instead of asking at the mailing-list what would have been the appropriate way for installation and local configuration issues, and often the faster lane too, btw.
Second, I ensure you too, that his is not a plugin issue. But in contrast to some suggestions above, i know, that logging in is enough, really.
Third, restrict_owner
is an option provided by the TicketSystem in Trac core. The dropdown field in ticket view and /newticket
is populated from sid's (session IDs) of seen (= logged-in at least once before) users. While the AccountManagerPlugin provides additional ways to add users, it doesn't add new entries in such a way, that Trac could see an authenticated user, while he/she has never logged in before.
Therefore I consider this issue to be rather unrelated to the AccountManagerPlugin, and this determines the chosen solution, when closing this ticket now. You're welcome to discuss outside of the ticket system. See you on the mailing-list or #trac IRC channel at freenode.net .
Hello again,
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 ?