mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
An unticked feature hid its menus and nothing else: the Table, Chat, Email, Version Control and Scrum views' methods and publications still answered, setBoardView still stored a hidden view, and a client could still turn on a list policy, a commitment point, a WIP limit per person or a split list. models/lib/featureServerGates.js lists, for every catalog feature, its server paths, its write gates, or why it is display only. requireFeature / featureAllowed (server/lib/assistGate.js) refuse with feature-disabled and record the attempt in Admin Panel / Problems as Disabled setting; the Scrum methods are wrapped in one place, except the ones the card details, Board Settings and data recovery use too; Boards / Lists deny rules refuse turning a flow policy on; setCardFlow refuses Done here while split lists is off; setBoardView refuses a hidden view. Board Settings / Scrum settings follows the Scrum views tick, as it opens in the Sprints view. tests/featureServerGates.test.cjs fails when a catalog feature is undecided, or when a method or publication of a feature file does not ask the gate. Thanks to xet7 !