Skip to content

Add annotations support for actions

Alexandr Tsyganov requested to merge setig91/kauth:kf5 into kf5

Add annotations support:

  • org.freedesktop.policykit.exec.*
  • org.freedesktop.policykit.imply
  • org.freedesktop.policykit.owner

For annotate help, see for known annotations.


Rationale

Since there was no support for known annotations in the past, it was necessary to abandon the use of .actions files and switch to the original .policy files. The current changes correct this situation, allowing the use of well-known annotations polkit directly in the .actions file.

After the changes are approved, it is planned to improve the documentation on the description of the new fields in the .actions file.

Merge request reports