discourse-assign/spec
Andrei Prigorshnev 51920a99c0
FIX: Assignments limit shouldn't prevent from reassigning a post (#556)
At the moment, it's possible to have maximum 5 assignments per topic 
(that includes topic and post assignments). When trying to assign more, 
a message "Limit of 5 assignments per topic has been reached" appears.

One possible edge case here is _reassigning_ a topic or a post. Reassignment 
doesn't lead to exceeding the limit, and therefore it should be possible. But 
at the moment we handle correctly only _topic_  reassignments, while when 
reassigning a _post_, we show the error message "the limit has been reached".

This commit makes post reassignments work correctly too.
2024-03-29 15:50:02 +04:00
..
components DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
fabricators FIX: Order items properly in user menu 2023-11-09 16:41:48 +01:00
integration DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
jobs DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
lib FIX: Assignments limit shouldn't prevent from reassigning a post (#556) 2024-03-29 15:50:02 +04:00
models FIX: Recreate notifications on topic reopening 2024-03-18 10:56:08 +01:00
requests DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
serializers DEV: Fix new Rubocop offenses (#548) 2024-02-29 18:23:48 +01:00
support DEV: Bump rubocop-discourse and correct violations (#409) 2022-12-23 19:55:31 +00:00
system DEV: Changes for new bulk action dropdown modal (#553) 2024-03-25 15:13:36 -06:00
plugin_spec.rb FIX: Recreate notifications on topic reopening 2024-03-18 10:56:08 +01:00