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

Martin Kletzander mkletzan at redhat.com
Sun Feb 19 06:00:05 UTC 2023


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 at redhat.com>

Reviewed-by: Martin Kletzander <mkletzan 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230219/89bbfc7b/attachment.sig>


More information about the libvir-list mailing list