Use stub subscription for permission testing.  Close #329.