Adding more complex permission scheme to wac.module.