]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: Fix generated names for ACL objects
authorPeter Krempa <pkrempa@redhat.com>
Mon, 20 Feb 2023 10:31:11 +0000 (11:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 20 Feb 2023 17:26:16 +0000 (18:26 +0100)
commit0b69e2b99569a1456a8f27c5866ccada580d06c8
treee188094169b5bec5ab6795939f3e76afe14b599f
parent91431db94b126cbb9dc3276da6a8fd0216008298
docs: Fix generated names for ACL objects

Both the object name and permission name in ACL use '-' instead of '_'
separator when referring to them in the docs or even when used inside of
polkit. Unfortunately the generators used for generating our docs don't
honour this in certain cases which would result in broken names in the
API docs (once they will be generated).

Rename both object and permission name to use dash and reflect that in
the anchor names in the documentation.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
scripts/genaclperms.py
src/rpc/gendispatch.pl