Skip to content

SAIF.Presentation.Web.Controls.V2.Menu business rules

No business rules (in the SAIF BOF sense of validation/enforcement logic with a statement/trigger/enforcement/outcome tied to persisted business data) are defined or enforced within this library.

All button-visibility and access-control decisions consumed by SAIFMenu and SAIFMenuTop originate from externally-supplied clsMenuAuthorizedItem/clsMenuAuthorizedItemCollection state, owned by SAIF.Business.Menu, outside this library's scope. This library only reflects that externally-computed state in its rendering; it does not compute or enforce authorization itself.

The library does contain conditional UI-shaping logic (e.g., default accordion expansion state, hiding empty categories, disabled-icon rendering, and the externally-gated "Change Password" favorite link), but this is presentational behavior rather than a business rule. It is documented as behavior/edge-case notes on the relevant operation pages: - Render side navigation menu - Render top toolbar menu

Sources

  • SAIF.Presentation.Web.Controls.V2.Menu\SAIFMenu.vb
  • SAIF.Presentation.Web.Controls.V2.Menu\SAIFMenuTop.vb