Added allView and allEdit flags