Allow the aclmode to be changed

Ticket: #5454