code change · featureAL Developmentofficial - Microsoftreviewed - checked by Opus

#279 knowledge(testing): a changed permission set needs a test that runs an allowed operation under it

Permission set testing guidance now requires tests that verify allowed operations work under the modified set, catching missing or incomplete grants that only surface at customer sites.

Pull request · merged into main on 2026-11-30 by MichaelDieringer · 6 files (+61 -39), 4 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • Extends the permission-test article to the allow side: a set that grants too little
  • When a change adds or modifies a permissionset or permissionsetextension, a test must lower the context to it, run an allowed operation and assert the result
  • Removing a needed grant must make that test fail
  • New good sample: a CUSTOMER EDITOR set and an EditorCanRunSetup test that runs Protected Setup Action Test under it
  • Review skill and fixtures updated; evidence: none of 16 permission sets in three apps were run in a lowered context

AL objects touched

Context

  • Systems: development

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).