polkit-github-migration-bot / t4_polkit

Other
0 stars 0 forks source link

user_of_subject is NULL if DBus provides groups - [merged] #403

Closed polkit-github-migration-bot closed 9 months ago

polkit-github-migration-bot commented 1 year ago

In gitlab.freedesktop.org by jrybar on Sep 27, 2023, 17:00

Link to the original merge request: https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/193 This merge request consists of the following commits:

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).")