improved bitmask. If you get the bitmask for EDIT you will get both VIEW and EDIT.