Sitelet https://github.com/codeRIT/hackathon-manager/issues/256
Skip to content
This repository was archived by the owner on Mar 1, 2026. It is now read-only.
This repository was archived by the owner on Mar 1, 2026. It is now read-only.

Prevent user deletion upon questionnaire deletion #256

Description

@cbaudouinjr

Currently when a user deletes a questionnaire within Dashboard they are prompted that the respective user account will be deleted as well. With 2.0 this should not be the case if someone (such as a volunteer or organizer) were to accidentally create a questionnaire and didn't need it.

Will require:

  • Removal of user.destroy in questionnaire.destroy
  • Verbiage changes to questionnaires/edit.html.haml
  • Test adjustments in tests/controllers/manage/questionnaires_controller_test.rb

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions