diff options
author | David Zeuthen <davidz@redhat.com> | 2012-05-18 17:23:18 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2012-05-18 17:29:01 -0400 |
commit | 3b7868b33033ed8dde17bb6b88ef461f4ecbb93f (patch) | |
tree | 744dbb782b5de49d672141ac091924fbebb1349a /actions | |
parent | ff18d9a8a23f11f76babc696082750f3f4b74239 (diff) | |
download | polkit-3b7868b33033ed8dde17bb6b88ef461f4ecbb93f.tar.gz |
Make it possible for JS code to change details
For example, to set the authentication message, a JS function can
simply do
details["polkit.message"] = "Hey dude, XYZ, I need your password";
This can also be used to pass data back to the mechanism.
To make this work properly, we also introduce a slight change: the
a{ss} passed back to the mechanism (part of the AuthorizationResult
structure) will be initialized with the a{ss} the app passed itself in
the CheckAuthorization() call.
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'actions')
0 files changed, 0 insertions, 0 deletions