Skip to content

revert: fix(AC0032): count CalcSums as a read operation (#580) - #584

Merged
Arthurvdv merged 1 commit into
mainfrom
fix/revert-ac0032-calcsums
Oct 17, 2026
Merged

Arthurvdv merged 1 commit into
mainfrom
fix/revert-ac0032-calcsums

Conversation

@Arthurvdv

@Arthurvdv Arthurvdv commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Reverts #580 so the next release does not ship it.

Runtime probes on BC 29 (Docker) and BC 28.5 (SaaS) showed CalcSums and CalcFields succeed with only the user's indirect permission, whether or not the calling object declares tabledata X = r, also on tables the license limits to indirect access (findings on #578). With #580, AC0031 would ask for a Permissions entry that has no runtime effect. After this revert, AC0031/AC0032 behave as in v1.3.1 for CalcSums.

Plain revert of 535330b. Conflicts with #581 and #582 (adjacent lines in the AC0031/AC0032 rule docs, record-method-classification.md and both test classes) were resolved by removing only the CalcSums lines.

Refs #578 (kept open pending the reporter's runtime repro)

Tests

  • dotnet test ALCops.sln: all green
  • dotnet format ALCops.sln --verify-no-changes: clean
  • Validate-Rules.ps1: passes

Docs PR: ALCops/alcops.dev#205

🤖 Generated with Claude Code

This reverts commit 535330b.

Runtime probes on BC 29 (Docker) and BC 28.5 (SaaS) showed CalcSums and
CalcFields succeed with only the user's indirect permission, whether or
not the calling object declares tabledata X = r, so the change would make
AC0031 ask for permissions that have no effect.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Arthurvdv
Arthurvdv merged commit 0c4b0c2 into main Oct 17, 2026
47 checks passed
@Arthurvdv
Arthurvdv deleted the fix/revert-ac0032-calcsums branch October 17, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant