Method

MalcontentAppFilteris_flatpak_ref_allowed

since: 0.2.0

Declaration [src]

gboolean
mct_app_filter_is_flatpak_ref_allowed (
  MctAppFilter* filter,
  const gchar* app_ref
)

Description [src]

Check whether the flatpak app with the given app_ref is allowed to be run according to this app filter.

Available since: 0.2.0

Parameters

app_ref

Type: const gchar*

Flatpak ref for the app, for example app/org.gnome.Builder/x86_64/master.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

True if the user this filter corresponds to is allowed to run the flatpak called app_ref according to the filter policy; false otherwise.