Edgewall Software

Ticket #1347 (new enhancement)

Opened 4 years ago

Last modified 5 months ago

remove old authenticated user sessions

Reported by: dnauck Owned by: cmlenz
Priority: normal Milestone: 1.0
Component: ticket system Version: devel
Severity: normal Keywords: authenticated user sessions
Cc: shishz@…, webkontakt@…, vyt@…, jeffh@…, pacopablo@…

Description

when you're using the restrict_owner setting there is no possibility to delete old users from this dropdown box.

Attachments

WebAdminSessions.patch (2.8 KB) - added by markus 3 years ago.
WebAdminSessions.2.patch (5.4 KB) - added by markus 3 years ago.
WebAdminSessions.3.patch (5.5 KB) - added by markus 3 years ago.

Change History

  Changed 3 years ago by dna

  • type changed from defect to enhancement

  Changed 3 years ago by sylvain@…

  • component changed from general to ticket system

In fact, the drop down list in restrict_owner mode, should be better build from the permission list of something which list the user of the site.

My be a new permission priviledge (TICKET_ASSIGNABLE) could decide if a user listed here is selectable to be assigned as a ticket owner.

  Changed 3 years ago by cmlenz

  • milestone changed from 0.9 to 0.9.1

Postponing...

  Changed 3 years ago by cmlenz

See also #2351.

  Changed 3 years ago by anonymous

  • cc shishz@… added

  Changed 3 years ago by cmlenz

  • milestone changed from 0.9.1 to 0.9.2

  Changed 3 years ago by cmlenz

  • milestone changed from 0.9.3 to 1.0

Later.

  Changed 3 years ago by markus

The attached patch adds a User Sessions tab in WebAdmin from where you can delete the project's user sessions.

Changed 3 years ago by markus

  Changed 3 years ago by markus

With the second patch you can also change a user session's name or email. I'm looking forward to your comments. (I'm not sure if the readonly text input is consistent with the rest of Trac's UI)

Changed 3 years ago by markus

Changed 3 years ago by markus

  Changed 3 years ago by anonymous

  • cc webkontakt@… added

  Changed 2 years ago by anonymous

  • cc vyt@… added

  Changed 2 years ago by markus

Is there any demand for an updated patch or should we close this ticket and wait for milestone:0.12 (announcing a Better user/session system)?

  Changed 2 years ago by Lutz Frommberger <webkontakt@…>

It will be quite a while until 0.12 will show up. I'd prefer to have the patch again, even if I actually don't need it.

follow-up: ↓ 20   Changed 2 years ago by sid

A workaround for this problem is removing the TICKET_MODIFY permission for that user. If a user doesn't have that permission, they will not show up in the "Assign to" list. (according to TracTickets#Assign-toasDrop-DownList)

follow-up: ↓ 16   Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

Why does this have to be a patch? Just make a plugin to handle it.

in reply to: ↑ 15 ; follow-up: ↓ 17   Changed 2 years ago by eblot

Replying to Noah Kantrowitz (coderanger):

Why does this have to be a patch? Just make a plugin to handle it.

IMHO it would better be part of the WebAdmin plugin subsystem (vs. a plugin): this is an administrative task that is useful to any administrator.

in reply to: ↑ 16   Changed 2 years ago by Noah Kantrowitz (coderanger) <coderanger@…>

Replying to eblot:

Replying to Noah Kantrowitz (coderanger):

Why does this have to be a patch? Just make a plugin to handle it.

IMHO it would better be part of the WebAdmin plugin subsystem (vs. a plugin): this is an administrative task that is useful to any administrator.

At the point that Trac has a better user directory system, yes. Until then I am just saying it may be easier for them to make a small plugin than to try to keep a patch in sync with WebAdmin.

  Changed 20 months ago by anonymous

  • milestone changed from 1.0 to not applicable

Hi, Im a brazilian user of trac and I´ve made de modifications of the three patches and nothing has chance. There is some other information to apply this changes ?? Tks.

  Changed 20 months ago by cboos

  • milestone changed from not applicable to 1.0

Please don't change arbitrarily the milestone. not applicable is a special milestone (see TracTicketTriage#Milestone if you want more details).

in reply to: ↑ 14   Changed 16 months ago by Archon810

Replying to sid:

A workaround for this problem is removing the TICKET_MODIFY permission for that user. If a user doesn't have that permission, they will not show up in the "Assign to" list. (according to TracTickets#Assign-toasDrop-DownList)

That is a faulty solution as there may be a wider permission group giving this permission (i.e. 'authenticated' group). There needs to be a utility or a plugin that does the sync. I'm quite shocked that Trac would have this bug.

  Changed 5 months ago by Jeffrey Hulten <jeffh@…>

  • cc jeffh@… added

  Changed 5 months ago by jhampton

  • cc pacopablo@… added

Add/Change #1347 (remove old authenticated user sessions)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cmlenz. Next status will be 'new'
The owner will change from cmlenz to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.