Skip to content

remove_role bypasses rails callbacks #6

Description

@EvanWillms

Roleable.subject.remove_role bypasses the rails callbacks by using delete_all instead of destroy_all. This is causing a problem with our model lifecycle auditing callbacks, as the removal of a role does not trigger appropriate tracking.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions