Skip to content
Snippets Groups Projects

Tombstone not available for dataset

Closed Kapil Patel requested to merge bug/tombstone-not-available-for-dataset into master

Merge request reports

Pipeline #6126 failed

Pipeline failed for f28e1ce4 on bug/tombstone-not-available-for-dataset

Closed by Kapil PatelKapil Patel 2 years ago (Feb 28, 2023 8:39am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
8 8 before_action :set_complex_modality, only: %i[show edit update]
9 9 before_action :check_tombstone
10 10 before_action :restrict_publication_manager
11 before_action :restrict_user_to_edit_published_work, only: [:new, :edit]
  • Anusha Ranganathan
    Anusha Ranganathan @anusha started a thread on commit 1621d4bd
  • 34 35 end
    35 36 end
    36 37 end
    38
    39 def restrict_user_to_edit_published_work
    40 if presenter.workflow.state == 'published'
    41 redirect_to main_app.polymorphic_path(@crc_dataset)
  • Kapil Patel requested review from @anusha

    requested review from @anusha

  • closed

  • Please register or sign in to reply
    Loading