Skip to content

Conversation

maq-adhoc
Copy link

Added the delete_from_identifiers method to PGSessionStore.
This method allows bulk deletion of session records from the http_sessions table based on a list of session identifiers (sid). It is triggered from the backend via the "Revoke" button

@OCA-git-bot
Copy link
Contributor

Hi @sbidoul,
some modules you are maintaining are being modified, check this out!

@sbidoul
Copy link
Member

sbidoul commented Oct 14, 2025

Ah I had not noticed delete_from_identifiers was there in 18.0 too.

If I'm not mistaken, the identifiers provided to that method are the first 42 characters of the sid.

It handled that in the 19.0 migration. You may want to review #3413 and then extract the relevant part for 18.

        Added the delete_from_identifiers method to PGSessionStore.
        This method allows bulk deletion of session records from the http_sessions table
        based on a list of session identifiers (sid). It is triggered from the backend
        via the "Revoke" button
@maq-adhoc
Copy link
Author

@sbidoul Perfect, I backported 19. Regards

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.

3 participants