module-access: Support L permissions by default for unrestricted clients
Currently, the link L
permissions don't seem to work properly for clients with unrestricted access.
This can be easily reproduced when the default sink node has only L
permissions instead RWXML
permissions, and we try to play some audio with pw-play test.wav
. The expected behavior would be for pw-play
to still play the audio file, but instead, it doesn't.
I have debugged this and it seems to be because the default supported permissions for unrestricted client in module-access is PW_PERM_ALL
(RWXM
), instead of PW_PERM_RWXML
(RWXML
). Changing this to PW_PERM_RWXML
seems to solve the problem.