Follow-up from "Show promotion for epics on issues"
The following discussion from !7602 (merged) should be addressed:
-
@jamedjo started a discussion: (+1 comment) If this is called with a project feature like
:issue_weights
, would checking the group mean accidentally skip thepublic? && namespace.public?
check? We'd then accidentally disable/promote features that should be Free (Gratis) to public projects.
The issue here is that the #promote_feature?
helper is also doing a feature check.
Proposed solution
Remove the helper since a feature check is already done outside the block rendering the promotion.
Edited by Heinrich Lee Yu