Opened 6 years ago

Closed 5 years ago

restrict_owner=true

Reported by: Owned by: grzesiu_mg@… Steffen Hoffmann normal AccountManagerPlugin normal ticket restrict owner 0.12

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?

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 6 years ago by grzesiu_mg@…

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 ?

comment:3 in reply to:  description Changed 6 years ago by anonymous

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?

comment:4 Changed 6 years ago by Adrian Fritz

I think this is not a plugin issue. We uses to solve this issue by requesting the new users to:

1. log-in
2. 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 6 years ago by Adrian Fritz

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 in reply to:  5 Changed 6 years ago by anonymous

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.

comment:7 Changed 5 years ago by Ryan J Ollos

Component: SELECT A HACK → AccountManagerPlugin changed from anonymous to Steffen Hoffmann

Yet another incorrectly filed ticket.

comment:8 in reply to:  description Changed 5 years ago by Steffen Hoffmann

Keywords: ticket restrict owner added → invalid new → closed

[...] 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 .

Modify Ticket

Change Properties