[PATCH] docs: ACL: Mention the ACL object name along with the corresponding libvirt object name

Peter Krempa pkrempa at redhat.com
Fri Feb 17 15:49:53 UTC 2023


It's not trivial to figure out the ACL object name from our
documentation. Add it above the table outlining existing permissions.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 scripts/genaclperms.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/genaclperms.py b/scripts/genaclperms.py
index e228b3ef60..e635dae50b 100755
--- a/scripts/genaclperms.py
+++ b/scripts/genaclperms.py
@@ -91,6 +91,7 @@ for obj in sorted(perms.keys()):
     olink = "object_" + obj.lower()

     print('    <h3><a id="%s">%s</a></h3>' % (olink, klass))
+    print('    <p>The <b>%s</b> libvirt object is represented as <code>%s</code>.</p>' % (klass, obj.lower()))
     print('    <table>')
     print('      <thead>')
     print('        <tr>')
-- 
2.39.1



More information about the libvir-list mailing list