提交 b6c7e3bb 编写于 作者: D Daniel P. Berrange

Fix typo in domain name in polkit acl example

Signed-off-by: NDaniel P. Berrange <dan@berrange.com>
上级 68a9637b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册