Currently, when only one user is available for the random auto-assign and if that user was already assigned, then the assign will fail. This patch addresses this issue by allowing to reassign a user who’s already assigned. A new parameter (`allow_self_reassign`) has been added to `Assigner#assign` with a default value of `false`. |
||
---|---|---|
.. | ||
discourse_assign | ||
assigner_spec.rb | ||
pending_assigns_reminder_spec.rb | ||
random_assign_utils_spec.rb | ||
topic_query_spec.rb |