[IMP] session_db: add method delete_from_identifiers
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
Hi @sbidoul, some modules you are maintaining are being modified, check this out!
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 https://github.com/OCA/server-tools/pull/3413 and then extract the relevant part for 18.
@sbidoul Perfect, I backported 19. Regards