Repository navigation
wireplumber: preserve portal camera permissions when denoise stops - #24
Conversation
Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Tested in a private PipeWire 1.6.9 + WirePlumber 0.5.18 session with a stand-in raw camera and filter node. On main, a restricted client with r-x on the raw camera drops to none when the filter starts and stays there after it stops. At this head it keeps r-x the whole way, and an unrestricted client is still hidden from the raw node while the filter runs and gets it back after. No camera is needed to see this, so the hardware row is not a blocker. Next: move the four distro pins to this merge.
|
Correction from my side: I merged this at Nothing ships it yet: Fedora, ALARM, NixOS and Debian stay on |
Change
Apply raw-source hiding and restoration only to unrestricted clients. Leave portal-managed and other restricted clients under WirePlumber's access policy. This preserves a camera grant across filter stop and restart, and leaves denied clients denied. An authorized portal application may show both camera sources.
Validation
Tested: Lua portal lifecycle fixture, Lua syntax check and Meson 10/10 on the buildbox.
Reported on aurora-silicon/fedora-aurora#617.
Risk: two-way · WirePlumber camera visibility for portal-managed clients. Revert this commit to restore the previous policy.