access: support new "default" pipewire.access value
The "default" access is used for normal clients, in the use case where Pipewire server will not assign permissions itself but leaves it to the session manager. In this use case only session manager has "unrestricted". Make "default" equal to "unrestricted" in the default access configuration.
This commit is contained in:
@@ -40,4 +40,14 @@ wireplumber.settings = {
|
||||
default_permissions = "rx"
|
||||
}
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
pipewire.access = "default"
|
||||
}
|
||||
]
|
||||
update-props = {
|
||||
default_permissions = "all"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
@@ -15,6 +15,8 @@ function getDefaultPermissions (properties)
|
||||
return "all"
|
||||
elseif pw_access == "flatpak" or pw_access == "restricted" then
|
||||
return "rx"
|
||||
elseif pw_access == "default" then
|
||||
return "all"
|
||||
end
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user