shop permissions
shop permissions and mailer bug fix