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>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Peter Krempa 2023-02-17 16:48:35 +01:00
parent 0b69e2b995
commit c9ee6f1d57

View File

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