Skip to content

Conversation

@monorkin
Copy link
Contributor

@monorkin monorkin commented Dec 15, 2025

Helps prevent DoS attacks with #2118, but also makes rendering cards and card previews more predictable.

When 10 people are assigned:
image

If fewer than 10 people are assigned:
image

@monorkin monorkin requested a review from jzimdars December 15, 2025 15:04
@monorkin monorkin force-pushed the limit-the-number-of-asignees-on-a-card branch from 35b9fbd to 15cb1f7 Compare December 15, 2025 15:40
Copy link
Member

@jzimdars jzimdars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get why we need to do this but I'd suggest increasing the limit to the amount that provides the most protection but is large enough that almost no real user would hit it in legitimate use.

Could we make it 25, 50, 75... without compromising the protection? These kinds of limits feel arbitrary to users so my hope is that no one ever actually sees this.

That said, I made a few small tweaks to the notice display in 140399a

image

</ul>

<div class="popup__footer" hidden data-assignment-limit-target="limitMessage">
Maxium <%= Assignment::LIMIT %> assignees
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here! Maximum vs Maxium

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh! Thanks for catching that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed this critical failure here 52bdc8d

@monorkin monorkin merged commit 42185a8 into main Dec 18, 2025
12 checks passed
@monorkin monorkin deleted the limit-the-number-of-asignees-on-a-card branch December 18, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants