Use `hasPerm` like @passy did in the Chrome app PR