accounts-service: Allow installation to the system repo by default
Note that this permissions check only concerns parental controls. If the system flatpak polkit policy disallows installation to the system repo (or requires an administrator password for it), this setting cannot override that. The default was previously to disallow installation, because the flatpak polkit policy was previously overridden by these settings. How parental controls are checked in flatpak has evolved since then, though. See: https://github.com/flatpak/flatpak/issues/3995 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
c2c25a14aa
commit
b4a74b0fa4
|
@ -69,7 +69,7 @@
|
||||||
installation can proceed.
|
installation can proceed.
|
||||||
|
|
||||||
If this is false, the user is not allowed to install any apps or runtimes
|
If this is false, the user is not allowed to install any apps or runtimes
|
||||||
to their flatpak user repository.
|
to their flatpak user repository due to parental controls.
|
||||||
-->
|
-->
|
||||||
<property name="AllowUserInstallation" type="b" access="readwrite">
|
<property name="AllowUserInstallation" type="b" access="readwrite">
|
||||||
<annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
|
<annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
|
||||||
|
@ -80,14 +80,15 @@
|
||||||
|
|
||||||
Whether this user is allowed to install to the flatpak system repository.
|
Whether this user is allowed to install to the flatpak system repository.
|
||||||
If this is true, and if the polkit check for allowing app installation
|
If this is true, and if the polkit check for allowing app installation
|
||||||
succeeds, and if the OarsFilter does not restrict this app, app
|
succeeds (i.e. the user is an administrator or an administrator has given
|
||||||
|
permission), and if the OarsFilter does not restrict this app, app
|
||||||
installation can proceed.
|
installation can proceed.
|
||||||
|
|
||||||
If this is false, the user is not allowed to install any apps or runtimes
|
If this is false, the user is not allowed to install any apps or runtimes
|
||||||
to the flatpak system repository.
|
to the flatpak system repository due to parental controls.
|
||||||
-->
|
-->
|
||||||
<property name="AllowSystemInstallation" type="b" access="readwrite">
|
<property name="AllowSystemInstallation" type="b" access="readwrite">
|
||||||
<annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
|
<annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
|
||||||
</property>
|
</property>
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
|
|
Loading…
Reference in New Issue