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

Default to admin dashboard for admins #1847

Merged
merged 2 commits into from
Sep 20, 2024
Merged

Default to admin dashboard for admins #1847

merged 2 commits into from
Sep 20, 2024

Conversation

ahamelers
Copy link
Collaborator

@ahamelers ahamelers commented Sep 17, 2024

Closes datadryad/dryad-product-roadmap#3590

In addition to removing the returnURL when it was set to the user dashboard in some instances for curators (inexplicable!) this sets the default dashboard page to the admin dashboard for all admins, fixes a missing target_page redirect, and swaps some other ways of going back to a URL to use the target_page session variable, for tidiness.

@ahamelers ahamelers changed the title Default dashboard Default to admin dashboard for admins Sep 17, 2024
@alinvetian alinvetian merged commit 47aa2eb into main Sep 20, 2024
5 checks passed
@alinvetian alinvetian deleted the default-dashboard branch September 20, 2024 16:50
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.

Submitting edits to some datasets redirects to My datasets page instead of admin dashboard
2 participants