[libvirt] [PATCH] Add documentation for access control system

Eric Blake eblake at redhat.com
Fri Aug 9 15:56:06 UTC 2013


On 08/09/2013 09:51 AM, Daniel P. Berrange wrote:

>>
>> This function has no return statement when the initial 'if' is not
>> satisfied; is that valid?
> 
> Yeah, it will just carry on with other polkit rules that are defined
> in other files, eventually fallback back to the default policy
> defined for the action.

Ah, a tri-state sort of thing - explicit return yes to end the search
with permission granted, explicit return no to end the search with
permission denied, and no return to fall through to any other checkers.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130809/a2f379ce/attachment-0001.sig>


More information about the libvir-list mailing list