Skip to content
Snippets Groups Projects

Redirect to www.drupal.org when a node is found, but type is not yet allowed

Open Neil Drumm requested to merge issue/drupalorg-3516327:3516327-redirect into 1.0.x
All threads resolved!

For /browse/recipes, the nodes should still be viewed on www.drupal.org since they are not ready to really move over yet. I haven’t done anything special in the View to link to the legacy site. Instead, this change redirects to the same node on www.drupal.org when the content type is not ready. This way when there's any relative link in migrated content, there’s some capability to route to the right site without updating the content; and we're not hard-coding the sites into Views or elsewhere.

This also removes the bypass node access ability. I think for production, less differences in what admins can see vs. other user accounts is always good. We could open up a "preview" phase where a separate allowlist of content types is viewable by admins with bypass node access. I'm guessing the bypass node access exception might have been added so we can preview how something like credit records are migrating.

Merge request reports

Members who can merge are allowed to add commits.
Approval is optional
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • 1 commit will be added to 1.0.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Fran Garcia-Linares
  • Neil Drumm added 1 commit

    added 1 commit

    Compare with previous version

  • Neil Drumm left review comments

    left review comments

  • Neil Drumm added 1 commit

    added 1 commit

    • 689db214 - Show a message to admins viewing a non-available content type

    Compare with previous version

  • Neil Drumm added 1 commit

    added 1 commit

    Compare with previous version

  • Fran Garcia-Linares resolved all threads

    resolved all threads

  • Fran Garcia-Linares resolved all threads

    resolved all threads

  • added 1 commit

    • fd2a3912 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Please register or sign in to reply
    Loading