Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Remove destroy(:force) methods from all equipment #802

Closed
@dgoerger

Description

@dgoerger

Currently one can still destroy(:force) (i.e., hard-delete) Categories, Equipment Models, and Equipment Objects. Doing so hard-deletes all associated reservations.

We already encourage deactivation in the equipment index pages; we should do the same for the show/edit pages, and remove the ability to hard-delete equipment, so that the admin can't so easily destroy reservation history / logs.

If there are any more destroy(:force) methods in the code, we should reconsider these as well.

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