Skip to content

Commit 7425632

Browse files
committed
test(plugin-security): the served-not-declared ledger states and cites the canWriteObject exception
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kYk6G1CvandwWbbhe
1 parent fade986 commit 7425632

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎packages/plugins/plugin-security/src/registered-security-service-members.pin.test.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ const DECLARED_MEMBERS = {
9292
* contract — plugin-internal, no caller outside this package — each with the
9393
* reason. An entry here is a decision that a member stays off the contract; a
9494
* member another package calls is a contract, and belongs on
95-
* `ISecurityService` instead.
95+
* `ISecurityService` instead — except where a published contract places it
96+
* off `ISecurityService`, and the entry cites that contract. One such entry:
97+
* `canWriteObject`, which the `IAutomationService.dryRun` contract's
98+
* `FlowDryRunWritePermission` text names a method of this plugin's service
99+
* and not of `ISecurityService`.
96100
*/
97101
const SERVED_NOT_DECLARED: Readonly<Record<string, string>> = {
98102
canWriteObject:

0 commit comments

Comments
 (0)