Fix typo in domain name in polkit acl example

Signed-off-by: Daniel P. Berrange <dan@berrange.com>
This commit is contained in:
Daniel P. Berrange 2013-08-09 20:03:42 +01:00
parent 68a9637b2c
commit b6c7e3bb52

View File

@ -398,7 +398,7 @@ polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.api.domain.getattr" &amp;&amp;
subject.user == "berrange") {
if (action._detail_connect_driver == 'LXC' &amp;&amp;
action._detail_domain_name == 'busy') {
action._detail_domain_name == 'demo') {
return polkit.Result.YES;
} else {
return polkit.Result.NO;