Bug 1886829 - Reinstate session limits
Summary: Reinstate session limits
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Aitik Dandapat
QA Contact: Jeff Fearn 🐞
URL:
Whiteboard:
Depends On:
Blocks: 1833585
TreeView+ depends on / blocked
 
Reported: 2020-10-09 13:38 UTC by Jeff Fearn 🐞
Modified: 2022-02-09 00:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-09 00:23:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2020-10-09 13:38:44 UTC
Description of problem:
For bug 1886819 we disabled the session limit enforcement to give users time to fix their systems, now we need to re-enable them.

Version-Release number of selected component (if applicable):
n/a

How reproducible:
Easy

Steps to Reproduce:
1. try and create 43 sessions as a single user

Actual results:
You can.

Expected results:
You can't.

Additional info:

Comment 2 Jeff Fearn 🐞 2022-01-27 23:30:07 UTC
1. login to web UI
2. go to Sessions preferences tab
3. run login script in a shell

$ perl bug_1886829.pl
Login 1 OK
Login 2 OK
...
Login 40 OK
Login 41 OK
Login 42  NOK The account you are using has too many current logins. The maximum number of concurrent logins is 42 and you have 42. You will need to wait until enough sessions expire before you can login again. Sessions expire after being unused for 7 days. All sessions are removed during an upgrade regardless of age. If you are using the API you might consider using API_KEYs instead of logging in. If you don't want to use API_KEYs then you need to logout to prevent being locked out. at bug_1886829.pl line 62.

4. Refresh Sessions preferences tab

"You have 42 sessions. Display limited to most recent 20."

5. Click "Log out all other sessions" button

Comment 4 Jeff Fearn 🐞 2022-02-09 00:23:54 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


Note You need to log in before you can comment on or make changes to this bug.