libvirt/src/access
John Ferlan ccc72d5cbd access: Modify the VIR_ERR_ACCESS_DENIED to include driverName
https://bugzilla.redhat.com/show_bug.cgi?id=1631606

Changes made to manage and utilize a secondary connection
driver to APIs outside the scope of the primary connection
driver have resulted in some confusion processing polkit rules
since the simple "access denied" error message doesn't provide
enough of a clue when combined with the "authentication failed:
access denied by policy" as to which connection driver refused
or failed the ACL check.

In order to provide some context, let's modify the existing
"access denied" error returne from the various vir*EnsureACL
API's to provide the connection driver name that is causing
the failure. This should provide the context for writing the
polkit rules that would allow access via the driver.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
2018-11-05 07:13:03 -05:00
..
genpolkit.pl access: Fix nwfilter-binding ACL access API name generation 2018-08-24 08:04:14 -04:00
Makefile.inc.am Merge WITH_POLKIT1 and WITH_POLKIT 2018-03-14 12:46:26 +01:00
viraccessdriver.h access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdrivernop.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdrivernop.h Define basic internal API for access control 2013-06-24 15:24:36 +01:00
viraccessdriverpolkit.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdriverpolkit.h Add a policy kit access control driver 2013-06-24 15:24:36 +01:00
viraccessdriverstack.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessdriverstack.h Define basic internal API for access control 2013-06-24 15:24:36 +01:00
viraccessmanager.c access: Modify the VIR_ERR_ACCESS_DENIED to include driverName 2018-11-05 07:13:03 -05:00
viraccessmanager.h access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessperm.c access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00
viraccessperm.h access: add nwfilter binding object permissions 2018-06-26 11:22:07 +01:00