Standarize permission handlers and fix class not found exception from vault being missing