Closed
Description
Problem
See this spec issue.
Proposed Solution
Iterate over every expanded path in the SubscribeRequest
and check if any of the paths have at least View
privilege (this is already handled by calling RequiredPrivilege::ForReadAttribute(aPath)
). If not a single path has that privilege, the subscription should not be established.
This processing should happen BEFORE we allocate a ReadHandler to serve the subscription. This ensures we don't tear down existing valid subscriptions to serve a subscription that is not valid.
Activity