dbus-spec, dbus-protocol: add ALLOW_INTERACTIVE_AUTHORIZATION flag
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 25 Sep 2014 12:19:24 +0000 (13:19 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 28 Oct 2014 14:03:06 +0000 (15:03 +0100)
commit66b15d177967fe8da5a830a4d6b3cb301df1d164
tree7bda65699e281924ca160d54dfeb34ba1fd51bff
parent8ad6a5575f5a904359e2331c711f94265d767e68
dbus-spec, dbus-protocol: add ALLOW_INTERACTIVE_AUTHORIZATION flag

Heavily based on a patch from Lennart Poettering.

This is useful for authentication frameworks such as polkit, but this
flag is supposed to be generic, and not be bound to any implementation
of such a framework.

The dbus specification already clarifies that unknown flags must be
ignored, the reference implementation and the other implementations we
checked indeed ignore any new flags, hence we should be fine with
compatibility here.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83449
dbus/dbus-protocol.h
doc/dbus-specification.xml