Score:1

Where are Polkit actions documented?

am flag

How does one determine the name of a program (application) for Polkit?

In this example (a file in /etc/polkit-1/localauthority/50-local.d/)

[My Muon Permissions]
Identity=unix-group:sudo
Action=org.kubuntu.qaptworker3.*
ResultActive=yes

Action identifies the Muon package manager. Another action I found was org.freedesktop.packagekit.*, which seems to be the "Discover" application, if not more.

There seems to be some sort of hierarchy, and the nodes seem arbitrary. Where are they documented?

For example, How can I identify the XFE package executable to Polkit?

N0rbert avatar
zw flag
Probably the documentation from https://www.freedesktop.org/software/polkit/docs/latest/ should help.
HiTechHiTouch avatar
am flag
This is a generic API description, with parameter names not values. The actions are identified only by title. E.G. PolkitActionDescription — 'Description of Actions.' Kind of like the infamous Help for the Help key: "The Help Key".
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.