Skip to content

FOUR-13910 block duplicate session in device restriction only works when the initial browser has the session open#6121

Merged
ryancooley merged 3 commits intonextfrom
FOUR-13910
Feb 1, 2024
Merged

FOUR-13910 block duplicate session in device restriction only works when the initial browser has the session open#6121
ryancooley merged 3 commits intonextfrom
FOUR-13910

Conversation

@devmiguelangel
Copy link
Copy Markdown
Contributor

@devmiguelangel devmiguelangel commented Jan 30, 2024

Issue & Reproduction Steps

The application is only logged in again when we log in with browser 1, which was the one that had the session.

Solution

Check all active sessions in block session by device

How to Test

  1. login with a user with device 1
  2. have the "Block duplicate session" option in device restriction enabled
  3. I will open another device 2
  4. try to log in with the same username from the other browser (this is correct)
  5. We go to device 1 and log out
  6. We return to device 2 and try to log in again

Related Tickets & Packages

FOUR-13910

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

ci:next
ci:deploy

@tokensPM
Copy link
Copy Markdown

QA server K8S was successfully deployed https://ci-f3d9ccf205.engk8s.processmaker.net

@tokensPM
Copy link
Copy Markdown

QA server K8S was successfully deployed https://ci-f3d9ccf205.engk8s.processmaker.net

@tokensPM
Copy link
Copy Markdown

QA server K8S was successfully deployed https://ci-f3d9ccf205.engk8s.processmaker.net

@processmaker-sonarqube
Copy link
Copy Markdown

@tokensPM
Copy link
Copy Markdown

QA server K8S was successfully deployed https://ci-f3d9ccf205.engk8s.processmaker.net

@ryancooley ryancooley merged commit 84ca64f into next Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants