Build a permission bitfield from flags, or decode one back into flags.
0
Nothing selected. Pick from the 49 flags below, or decode a value.