Debugging insufficient privileges on the custom button/link