Update guidance on situations where there is no polkit authority
authorDavid Zeuthen <zeuthen@gmail.com>
Fri, 8 Jun 2012 17:38:53 +0000 (13:38 -0400)
committerDavid Zeuthen <zeuthen@gmail.com>
Fri, 8 Jun 2012 17:41:50 +0000 (13:41 -0400)
commitacf3a06e55f9ca8a7f7bfa012c24e8794d27c85f
tree6cf199b5499282ffa49d9b84f96d103caccff852
parenta4bdaf59a57f53040018b2116f8bd5d7e9d3f071
Update guidance on situations where there is no polkit authority

Now that GDBusProxy does something reasonable for a masked systemd
service, see

 https://bugzilla.gnome.org/show_bug.cgi?id=677718

construction of the PolkitAuthority object does not fail anymore. That
doesn't mean the authority is available, though, so mention that users
should check the result of the CheckAuthorization() call as well. Or
in the case of PolkitAuthority, that the error is not a POLKIT_ERROR.

This is actually a nice feature, it means that if you unmask
polkit.service then mechanisms using PolkitAuthority will start using
it without a restart.

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
docs/polkit/overview.xml