convenience method for assigning multiple flags into permissions