fix(zwave): migrate schedule user handling to unified access-control APIs#4614
Draft
robertsLando with Copilot wants to merge 5 commits into
Draft
fix(zwave): migrate schedule user handling to unified access-control APIs#4614robertsLando with Copilot wants to merge 5 commits into
robertsLando with Copilot wants to merge 5 commits into
Conversation
Agent-Logs-Url: https://github.com/zwave-js/zwave-js-ui/sessions/b1ba95fa-c621-40e8-8a8d-d6c1e8641c40 Co-authored-by: robertsLando <11502495+robertsLando@users.noreply.github.com>
Agent-Logs-Url: https://github.com/zwave-js/zwave-js-ui/sessions/b1ba95fa-c621-40e8-8a8d-d6c1e8641c40 Co-authored-by: robertsLando <11502495+robertsLando@users.noreply.github.com>
Agent-Logs-Url: https://github.com/zwave-js/zwave-js-ui/sessions/b1ba95fa-c621-40e8-8a8d-d6c1e8641c40 Co-authored-by: robertsLando <11502495+robertsLando@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update to use new user CC APIs
fix(zwave): migrate schedule user handling to unified access-control APIs
Apr 13, 2026
robertsLando
approved these changes
Apr 13, 2026
Coverage Report for CI Build 24342537954Coverage increased (+0.002%) to 18.302%Details
Uncovered Changes
Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Member
From @AlCalzone |
Contributor
|
This pull-request is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this pull-request entirely you can add the no-stale label |
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates schedule-related user handling to use the new unified user/credential APIs introduced in
zwave-js, replacing legacyUser Code CC-specific cache access. The goal is to keep schedule behavior aligned while supporting both User Code CC and User Credential CC via a single access-control surface.Access-control API migration (schedule path)
UserCodeCC.getSupportedUsersCached(...)withendpoint.getUserCapabilitiesCached()?.maxUsers.UserCodeCC.getUserIdStatusCached(...)checks withendpoint.getUserCached(userId)presence checks.UserCodeCCin this flow.Enabled-state compatibility
user.active) when populatingnode.userCodes.enabled.Operational clarity