Skip to content
Snippets Groups Projects
  1. Feb 19, 2020
  2. Oct 18, 2019
  3. Jul 18, 2019
  4. Sep 06, 2018
  5. Aug 07, 2018
  6. Apr 06, 2017
    • Timothy Andrew's avatar
      Move a user's award emoji to the ghost user · 3e1a1242
      Timothy Andrew authored
      ... when the user is destroyed.
      
      1. Normally, for a given awardable and award emoji name, a user is only allowed
         to create a single award emoji.
      
      2. This validation needs to be removed for ghost users, since:
      
         - User A and User B have created award emoji - with the same name and against
           the same awardable
         - User A is deleted. Their award emoji is moved to the ghost user
         - User B is deleted. Their award emoji needs to be moved to the ghost user.
           However, this breaks the uniqueness validation, since the ghost user is
           only allowed to have one award emoji of a given name for a given awardable
      Unverified
      3e1a1242
Loading