Using Python to write Polkit rule
Alec Ari
alec at onelabs.com
Fri Feb 1 06:18:06 UTC 2019
Hello,
This document here:
https://www.freedesktop.org/software/polkit/docs/latest/polkit.8.html
Mentions you can use Python via GObjectIntrospection and
libpolkit-gobject-1 library. How do I write a Python rule for Polkit as
I've removed the JavaScript backend? I want to port 50-default.rules to
Python and use that language instead. I couldn't find a single example
online of using Polkit with Python.
Alec
More information about the polkit-devel
mailing list