app/models/anoubis/tenant/user_group.rb
##
# Delete all redis keys of menu for defined user
Delete all redis keys of menu for defined user
Delete all redis keys of menu for defined user
def after_modify_user_group
    if self.redis
      self.redis.keys(self.redis_prefix + self.user.uuid.to_s + '_*').each do |data|
        self.redis.del data
      end
      self.redis.del self.redis_prefix + self.user.uuid.to_s
    end
  end
def after_modify_user_group if self . redis self . redis . keys ( self . redis_prefix + self . user . uuid . to_s + '_*' ) . each do | data | self . redis . del data end self . redis . del self . redis_prefix + self . user . uuid . to_s end end
Delete all redis keys of menu for defined user
Delete all redis keys of menu for defined user