malcontent/libeos-parental-controls
Philip Withnall fa11d103d2 libeos-parental-controls: Use FindUserById for accountsservice objects
Instead of manually constructing the D-Bus object path representing a
user, call FindUserById to have accountsservice do it for us. For normal
users, this makes no difference. For system users (UID < 1000) or other
users which accountsservice considers uninteresting (see
user_classify_is_human() in user-classify.c in accountsservice), no
D-Bus objects are created for them automatically. Calling FindUserById
ensures that the object is created before its path is returned to us.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://phabricator.endlessm.com/T24302
2018-11-02 09:17:56 +00:00
..
tests libeos-parental-controls: Add support for flatpak refs 2018-10-25 15:16:31 +13:00
app-filter.c libeos-parental-controls: Use FindUserById for accountsservice objects 2018-11-02 09:17:56 +00:00
app-filter.h libeos-parental-controls: Add synchronous versions of methods 2018-10-31 11:01:44 +00:00
meson.build libeos-parental-controls: Add placeholder unit tests 2018-10-06 00:48:36 +01:00