Skip to content

Fix set acl (really)#626

Merged
Apollon77 merged 1 commit intomainfrom
fix-set-acl2
May 8, 2026
Merged

Fix set acl (really)#626
Apollon77 merged 1 commit intomainfrom
fix-set-acl2

Conversation

@Apollon77
Copy link
Copy Markdown
Collaborator

addresses #625

Copilot AI review requested due to automatic review settings May 8, 2026 06:51
@Apollon77 Apollon77 enabled auto-merge (squash) May 8, 2026 06:51
@Apollon77 Apollon77 merged commit 7bb7a60 into main May 8, 2026
18 checks passed
@Apollon77 Apollon77 deleted the fix-set-acl2 branch May 8, 2026 06:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses failures when writing fabric-scoped list entries (ACL and Binding) by sending a resolved fabricIndex instead of the NO_FABRIC (0) sentinel, aligning better with devices that incorrectly reject 0 during validation.

Changes:

  • Add a helper to derive the peer-assigned fabric index and use it when writing AccessControl acl entries.
  • Use the same resolved fabric index when writing Binding binding entries.
  • Update the changelog WORK IN PROGRESS section to note the fix.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/ws-controller/src/controller/ControllerCommandHandler.ts Resolve and send fabricIndex for ACL and Binding attribute writes instead of NO_FABRIC (0).
CHANGELOG.md Adds a WIP changelog entry for the ACL fix.

.get(nodeId)
.node.endpoints.for(EndpointNumber(0))
.maybeStateOf(OperationalCredentialsClient);
return state?.currentFabricIndex ?? FabricIndex.NO_FABRIC;
Comment thread CHANGELOG.md

## **WORK IN PROGRESS**

- Fix: Fixes setting ACLs (really)
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.

2 participants