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

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

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@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@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
participants (2)
-
Martin Kletzander
-
Peter Krempa