mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-access: fall back to client requested access mode
When nothing else was decided, use the client requested access method. The idea is that pipewire-pulse will detect a flatpak client an performs the pipewire connection on behalf of the client, requesting flatpak access restrictions.
This commit is contained in:
parent
3659d70aef
commit
d85862af71
1 changed files with 2 additions and 1 deletions
|
|
@ -229,6 +229,7 @@ context_check_access(void *data, struct pw_impl_client *client)
|
||||||
goto wait_permissions;
|
goto wait_permissions;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
if ((access = pw_properties_get(props, PW_KEY_CLIENT_ACCESS)) == NULL)
|
||||||
access = "unrestricted";
|
access = "unrestricted";
|
||||||
|
|
||||||
granted:
|
granted:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue