only offer button when permissions sufficient