vmihalko / t2_polkit

Other
0 stars 0 forks source link

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

Closed vmihalko closed 1 year ago

vmihalko commented 1 year ago

In GitLab by @bluca on Aug 17, 2023, 16:27

_Merges getcreds -> master

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

Split out of https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/154