On a Monday in 2023, Peter Krempa wrote:
Both the object name and permission name in ACL use '-'
instead of '_'
separator when refering to them in the docs or even when used inside of
referring
polkig. Unfortunately the generators used for generating our docs
don't
polkit
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(a)redhat.com>
---
scripts/genaclperms.py | 6 +++---
src/rpc/gendispatch.pl | 13 +++++++++++--
2 files changed, 14 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano