Skip to content

user_of_subject is NULL if DBus provides groups

Implementation of DBus-provided groups introduced a bug in retrieving user_of_subject UID, which was always NULL if groups were provided by DBus. This value propagated into JS scripts where user_of_subject was completely missing and some .rules files were evaluated incorrectly (broken polkit-pkla-compat and inherently Gnome Shell).

Merge request reports