[PATCH 2/6] 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]

 



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>
---
 scripts/genaclperms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/genaclperms.py b/scripts/genaclperms.py
index eaf4a3d17d..527005dd98 100755
--- a/scripts/genaclperms.py
+++ b/scripts/genaclperms.py
@@ -91,7 +91,7 @@ for obj in sorted(perms.keys()):
     objname = obj.lower().replace("_", "-")
     olink = "object_" + objname

-    print('    <h3><a id="%s">%s</a></h3>' % (olink, klass))
+    print('    <h3><a id="%s"><code>%s</code> - %s</a></h3>' % (olink, objname, klass))
     print('    <table>')
     print('      <thead>')
     print('        <tr>')
-- 
2.39.2




[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