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
def can_access?
permitted? && (multiple_submissions || !completed?)
permitted? && (user&.admin? || (multiple_submissions || !completed?))
end
def reset