1
0
Fork 0

Ensure admin can access wizard multiple times

Dieser Commit ist enthalten in:
Angus McLeod 2023-02-09 13:10:55 +01:00
Ursprung 7c8f530c86
Commit b2b93aad59

Datei anzeigen

@ -242,7 +242,7 @@ class CustomWizard::Wizard
end end
def can_access? def can_access?
permitted? && (multiple_submissions || !completed?) permitted? && (user&.admin? || (multiple_submissions || !completed?))
end end
def reset def reset