Migrate anonymous flags to authenticated users after login

Created on 13 February 2019, almost 7 years ago
Updated 6 April 2023, almost 3 years ago

Using the D8 flag module to handle anonymous users flagging stuff on the site, just wanted to clarify that there isn't functionality to migrate these anonymous flags to belong to an authenticated user if a user subsequently registers/logs in? In the D7 version of the module this was handled using a hook_user_login hook.

I'd like to look at supplying a patch for this as it's really useful functionality to us. However I'm wondering if you'd like the module to do this by default, or should it be an option?

Feature request
Status

Active

Version

4.0

Component

Flag core

Created by

🇦🇺Australia thomwilhelm Sydney

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States mlncn Minneapolis, MN, USA

    Following and noting this would be a fantastic feature.

  • Status changed to Needs work 11 months ago
  • 🇧🇾Belarus ivnish

    Needs reroll to MR. Also needs tests

  • First commit to issue fork.
  • Merge request !145Update file flag.module → (Open) created by immaculatexavier
  • Pipeline finished with Failed
    7 months ago
    Total: 166s
    #529991
  • Pipeline finished with Failed
    3 months ago
    Total: 221s
    #660209
  • Pipeline finished with Failed
    3 months ago
    Total: 161s
    #660221
  • Pipeline finished with Failed
    3 months ago
    Total: 221s
    #660237
  • Pipeline finished with Success
    2 months ago
    #662890
  • Pipeline finished with Success
    2 months ago
    #662899
  • Status changed to Needs review 2 months ago
  • Pipeline finished with Canceled
    22 days ago
    Total: 766s
    #706190
  • Pipeline finished with Success
    22 days ago
    Total: 495s
    #706205
Production build 0.71.5 2024