polkit-github-migration-bot / t4_polkit

Other
0 stars 0 forks source link

jsauthority: parse groups from GetConnectionCredentials() if available - [merged] #399

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

polkit-github-migration-bot commented 10 months ago

In gitlab.freedesktop.org by bluca on Aug 17, 2023, 16:27

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

D-Bus will give us supplementary groups too, using SO_PEERSEC which is secure and safe against races, so prefer that to parsing the group from the uid. This is available when using dbus-broker.

Fixes https://gitlab.freedesktop.org/polkit/polkit/-/issues/165")