moving privilegeType enum to different package