Bug fixes.
ACL management: minor improvements and fixes.