Modify

Opened 3 years ago

Closed 3 years ago

#8640 closed defect (invalid)

restrict_owner=true

Reported by: grzesiu_mg@… Owned by: hasienda
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: ticket restrict owner
Cc: Trac Release: 0.12

Description (last modified by rjollos)

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 3 years ago by rjollos

  • Description modified (diff)

comment:2 Changed 3 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 3 years ago by anonymous

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

comment:4 Changed 3 years ago by AdrianFritz

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: Changed 3 years ago by AdrianFritz

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 3 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.

Thank you in advance.

comment:7 Changed 3 years ago by rjollos

  • Component changed from SELECT A HACK to AccountManagerPlugin
  • Owner set to hasienda

Yet another incorrectly filed ticket.

comment:8 in reply to: ↑ description Changed 3 years ago by hasienda

  • Keywords ticket restrict owner added
  • Resolution set to invalid
  • Status changed from new to 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 .

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.