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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 17, 2023 at 04:49:53PM +0100, Peter Krempa wrote:
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@xxxxxxxxxx>

Reviewed-by: Martin Kletzander <mkletzan@xxxxxxxxxx>

---
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

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux