]> xenbits.xensource.com Git - libvirt.git/commit
Fix naming of permission for detecting storage pools
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Sep 2013 13:35:45 +0000 (14:35 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 12 Sep 2013 16:20:07 +0000 (17:20 +0100)
commit935e7d02cfd6f5cca04f548d91a04f5f08fa4bcf
tree8252ecd08fdf5a03c749d8eee26b3acc1f802a50
parent1c7037cff42dde35913dde533b31ee1da8c2d6e0
Fix naming of permission for detecting storage pools

The VIR_ACCESS_PERM_CONNECT_DETECT_STORAGE_POOLS enum
constant had its string format be 'detect_storage_pool',
note the missing trailing 's'. This prevent the ACL
check from ever succeeding. Fix this and add a simple
test script to validate this problem of matching names.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/Makefile.am
src/access/viraccessperm.c
src/check-aclperms.pl [new file with mode: 0755]