Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LIMS-1615: Allow direct links to visit summary page #902

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ndg63276
Copy link
Collaborator

@ndg63276 ndg63276 commented Feb 6, 2025

JIRA ticket: LIMS-1615

Summary:

Links to eg https://ispyb.diamond.ac.uk/dc/summary/visit/cm40608-1 don't work, as the proposal is not set.

Changes:

  • Set the proposal 'cookie' when navigating to the page. This is reverting commit 80ef089.

To test:

  • In a new browser tab for each, go to /dc/summary/visit/cm40608-1, /dc/apstatussummary/visit/cm40608-1, /dc/sc/visit/cm40608-1 and /dc/visit/cm40608-1 and check each one loads correctly, with the proposal set.
  • Try again, but log in as someone without permission to view that visit, check each page doesn't load

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant