bcquality/microsoft/knowledge
Michael Dieringer 0867171b1a
2 AL/BC UI patterns: client-expression in-list (AL0573) and Role Center AccessByPermission (#207)
* Add UI knowledge: client-expression in-list and Role Center AccessByPermission

Two ui articles with compiled good/bad samples:
- page-client-expression-must-not-use-in-list: an `in [...]` list in
  Enabled/Visible/Editable/StyleExpr is rejected (AL0573 on actions,
  groups and parts; AL0322 on fields); remediate with an or-chain or a
  global Boolean, not a procedure call. Plain comparisons stay valid.
- rolecenter-permission-gating-must-use-accessbypermission: Role Center
  pages and pageextensions of them cannot host triggers/procedures
  (AL0378/AL0569); gate parts by permission with AccessByPermission,
  with the UI Elements Removal and non-security-boundary caveats.

Wired into al-ui-review worklist tokens and high-signal mappings, and
registered both pairs in the ui review-fixtures override.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Address review: OnAfterGetCurrRecord for action state, RC gating nits

- page-client-expression-must-not-use-in-list: recompute action/group/part
  state in OnAfterGetCurrRecord (OnAfterGetRecord runs per row), cite
  EDocumentLogs and concrete or-chain examples, note HideValue and that
  the property list is not exhaustive; good sample uses OnAfterGetCurrRecord.
- rolecenter-permission-gating-must-use-accessbypermission: clarify
  LicenseFile vs LicenseFileAndUserPermissions removal, cite Business
  Manager RC Control96, samples gate a part the RC does not already have.
- al-ui-review: add ReadPermission/WritePermission tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 09:53:14 +02:00
..
appsource 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
breaking-changes 18 AL/BC patterns: style, data-modeling, web-services, appsource, breaking-changes, performance, testing (#156) 2026-09-29 12:48:17 +02:00
data-modeling knowledge(data-modeling): Prices Including VAT decides the basis of sales/purchase/service line amounts (#203) 2026-10-02 09:51:34 +02:00
error-handling 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
events knowledge(events): ChangeCompany leaves triggers and trigger-event subscribers running in the calling company (#152) 2026-09-15 12:34:28 +02:00
finance Add source-verified Finance knowledge and review domain (#57) 2026-09-21 10:20:41 +02:00
interfaces Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
performance Add BC performance knowledge from OptimAL learnings (#198) 2026-09-29 17:21:28 +02:00
privacy Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
query Add query filter semantics guidance (#186) 2026-09-15 12:51:15 +02:00
reporting Add reporting review guidance and evaluation fixtures (#183) 2026-09-15 10:38:32 +02:00
scm Strengthen review contracts and add AL reliability guidance (#196) 2026-09-29 13:03:39 +02:00
security 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
style Restore deterministic review fixture coverage (#202) 2026-09-29 17:29:36 +02:00
telemetry Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
testing Restore deterministic review fixture coverage (#202) 2026-09-29 17:29:36 +02:00
ui 2 AL/BC UI patterns: client-expression in-list (AL0573) and Role Center AccessByPermission (#207) 2026-10-02 09:53:14 +02:00
upgrade 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
web-services 18 more AL/BC patterns: data-modeling, testing, style, security, error-handling, ui, upgrade, web-services, appsource (#157) 2026-09-29 17:12:51 +02:00
.gitkeep Add .gitkeep files to community and microsoft directories; remove .gitkeep from samples 2026-04-17 06:03:14 +02:00