2018-09-24 16:36:41 +02:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
|
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
|
|
|
<node>
|
|
|
|
|
<interface name="com.endlessm.ParentalControls.AppFilter">
|
|
|
|
|
|
|
|
|
|
<annotation name="org.freedesktop.Accounts.VendorExtension" value="true"/>
|
|
|
|
|
|
|
|
|
|
<annotation name="org.freedesktop.Accounts.Authentication.ChangeOwn"
|
|
|
|
|
value="com.endlessm.ParentalControls.AppFilter.ChangeOwn"/>
|
|
|
|
|
<annotation name="org.freedesktop.Accounts.Authentication.ReadOwn"
|
|
|
|
|
value="com.endlessm.ParentalControls.AppFilter.ReadOwn"/>
|
|
|
|
|
<annotation name="org.freedesktop.Accounts.Authentication.ChangeAny"
|
|
|
|
|
value="com.endlessm.ParentalControls.AppFilter.ChangeAny"/>
|
|
|
|
|
<annotation name="org.freedesktop.Accounts.Authentication.ReadAny"
|
|
|
|
|
value="com.endlessm.ParentalControls.AppFilter.ReadAny"/>
|
|
|
|
|
|
|
|
|
|
<!--
|
2018-12-12 14:43:39 +01:00
|
|
|
|
AppFilter:
|
2018-09-24 16:36:41 +02:00
|
|
|
|
|
|
|
|
|
A filter for which applications and binaries the user can run. This is
|
|
|
|
|
intended to be set by administrators and read by users, rather than being
|
|
|
|
|
editable by the user themselves.
|
|
|
|
|
|
|
|
|
|
The string list contains flatpak application IDs (containing at least one
|
|
|
|
|
dot and no leading slash) and absolute binary paths (containing a leading
|
|
|
|
|
slash). The boolean value indicates whether this is a whitelist (true) or
|
|
|
|
|
blacklist (false).
|
|
|
|
|
-->
|
2018-12-12 14:43:39 +01:00
|
|
|
|
<property name="AppFilter" type="(bas)" access="readwrite">
|
2018-09-24 16:36:41 +02:00
|
|
|
|
<annotation name="org.freedesktop.Accounts.DefaultValue"
|
|
|
|
|
value="(false, [])"/>
|
|
|
|
|
</property>
|
2018-10-09 03:16:41 +02:00
|
|
|
|
|
|
|
|
|
<!--
|
2018-12-12 14:43:39 +01:00
|
|
|
|
OarsFilter:
|
2018-10-09 03:16:41 +02:00
|
|
|
|
|
|
|
|
|
A filter for which applications the user can see in app lists and install.
|
|
|
|
|
This is intended to be set by administrators and read by users, rather
|
|
|
|
|
than being editable by the user themselves.
|
|
|
|
|
|
|
|
|
|
It’s a two-tuple of the rating type, and a dictionary of rating sections
|
|
|
|
|
and values. The type gives the rating scheme in use — currently only
|
2018-10-11 04:15:46 +02:00
|
|
|
|
`oars-1.0` and `oars-1.1` are supported.
|
2018-10-09 03:16:41 +02:00
|
|
|
|
|
|
|
|
|
Each dictionary entry is a mapping from an OARS section to the
|
|
|
|
|
most severe value for it which the user is allowed to see (inclusive). Any
|
|
|
|
|
app with a more severe value for any section must not be listed or
|
|
|
|
|
installable by the user.
|
|
|
|
|
|
|
|
|
|
An empty dictionary means that no OARS filtering is to be performed for
|
|
|
|
|
the user.
|
|
|
|
|
|
|
|
|
|
This setting is essentially equivalent to the `content_rating` dictionary
|
|
|
|
|
in AppStream data:
|
|
|
|
|
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-content_rating.
|
|
|
|
|
-->
|
2018-12-12 14:43:39 +01:00
|
|
|
|
<property name="OarsFilter" type="(sa{ss})" access="readwrite">
|
2018-10-09 03:16:41 +02:00
|
|
|
|
<annotation name="org.freedesktop.Accounts.DefaultValue"
|
2018-10-11 04:15:46 +02:00
|
|
|
|
value="('oars-1.1', @a{ss} {})"/>
|
2018-10-09 03:16:41 +02:00
|
|
|
|
</property>
|
2018-11-13 12:30:19 +01:00
|
|
|
|
|
2018-11-29 22:09:57 +01:00
|
|
|
|
<!--
|
2018-12-12 14:43:39 +01:00
|
|
|
|
AllowUserInstallation:
|
2018-11-29 22:09:57 +01:00
|
|
|
|
|
|
|
|
|
Whether this user is allowed to install to their flatpak user repository.
|
|
|
|
|
If this is true, and if the polkit check for allowing app installation
|
2018-12-12 14:43:39 +01:00
|
|
|
|
succeeds, and if the OarsFilter does not restrict this app, app
|
2018-11-29 22:09:57 +01:00
|
|
|
|
installation can proceed.
|
|
|
|
|
|
|
|
|
|
If this is false, the user is not allowed to install any apps or runtimes
|
|
|
|
|
to their flatpak user repository.
|
|
|
|
|
-->
|
2018-12-12 14:43:39 +01:00
|
|
|
|
<property name="AllowUserInstallation" type="b" access="readwrite">
|
2018-11-29 22:09:57 +01:00
|
|
|
|
<annotation name="org.freedesktop.Accounts.DefaultValue" value="true"/>
|
|
|
|
|
</property>
|
|
|
|
|
|
2018-11-13 12:30:19 +01:00
|
|
|
|
<!--
|
2018-12-12 14:43:39 +01:00
|
|
|
|
AllowSystemInstallation:
|
2018-11-13 12:30:19 +01:00
|
|
|
|
|
2018-11-28 17:39:39 +01:00
|
|
|
|
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
|
2018-12-12 14:43:39 +01:00
|
|
|
|
succeeds, and if the OarsFilter does not restrict this app, app
|
2018-11-28 17:39:39 +01:00
|
|
|
|
installation can proceed.
|
2018-11-13 12:30:19 +01:00
|
|
|
|
|
2018-11-28 17:39:39 +01:00
|
|
|
|
If this is false, the user is not allowed to install any apps or runtimes
|
|
|
|
|
to the flatpak system repository.
|
2018-11-13 12:30:19 +01:00
|
|
|
|
-->
|
2018-12-12 14:43:39 +01:00
|
|
|
|
<property name="AllowSystemInstallation" type="b" access="readwrite">
|
2018-11-28 17:39:39 +01:00
|
|
|
|
<annotation name="org.freedesktop.Accounts.DefaultValue" value="false"/>
|
2018-11-13 12:30:19 +01:00
|
|
|
|
</property>
|
2018-09-24 16:36:41 +02:00
|
|
|
|
</interface>
|
2018-10-09 03:16:41 +02:00
|
|
|
|
</node>
|