core-admin-client/qubesadmin
Marek Marczykowski-Górecki 5315bbf8f9
Do not check for object existence when got it with another Admin API call
When qubesd returns an name of VM or other object, as part of another
call (reading a property, listing devices etc), it's safe to assume that
object exists. Do not try to list it, which could be prevented by qrexec
policy. This means a VM object would be returned (for example in
vm.netvm property), which potentially could not be listed through
app.domains collection. This may lead to some corner cases, but
generally should ease handling of restricted policy.

This does not affect practical information the management VM have access
too, as those names are already returned. It's just client side python
wrapper that didn't allowed to access them.

QubesOS/qubes-issues#5099
2020-05-18 04:37:48 +02:00
..
backup Make pylint happy 2019-10-05 21:57:48 +02:00
events Make pylint happy 2019-10-05 21:57:48 +02:00
tests tools/qvm-volume import: do not retrieve old size anymore 2020-05-10 03:57:28 +02:00
tools tools/qvm-volume import: do not retrieve old size anymore 2020-05-10 03:57:28 +02:00
vm Remove no longer relevant TODO comment 2020-02-07 04:35:38 +01:00
__init__.py Choose QubesLocal or QubesRemote based on /etc/qubes-release presence 2017-07-18 01:58:33 +02:00
app.py Cloning a vm now clones persistent PCI device assignments 2020-03-30 15:48:53 +02:00
base.py Do not check for object existence when got it with another Admin API call 2020-05-18 04:37:48 +02:00
config.py tools: add qvm-template-postprocess 2017-05-26 01:33:43 +02:00
devices.py Do not check for object existence when got it with another Admin API call 2020-05-18 04:37:48 +02:00
exc.py Fixed Exceptions inferiting from KeyError 2019-12-09 21:05:18 +01:00
features.py features: serialize True as '1' 2017-07-28 13:56:05 +02:00
firewall.py Make pylint happy 2019-03-07 03:17:29 +01:00
label.py Rename Mgmt API to Admin API: methods names 2017-05-12 19:36:03 +02:00
log.py Drop log.DBusHandler 2017-10-16 01:33:03 +02:00
spinner.py qubesadmin/spinner: fix licence 2017-06-08 08:12:58 +02:00
storage.py Import data using ImportWithSize call, not manual resizing 2020-01-23 10:29:50 +01:00
tags.py tags support 2017-06-20 01:34:16 +02:00
utils.py Support for AudioVM 2020-03-28 17:33:02 +01:00