Skip to content

AO3-5550 AO3-6022 Hide restricted works from guests and hidden works from everyone on the Related Works page#5818

Open
slavalamp wants to merge 9 commits into
otwcode:masterfrom
slavalamp:AO3-6022_hide_hidden_related_works
Open

AO3-5550 AO3-6022 Hide restricted works from guests and hidden works from everyone on the Related Works page#5818
slavalamp wants to merge 9 commits into
otwcode:masterfrom
slavalamp:AO3-6022_hide_hidden_related_works

Conversation

@slavalamp
Copy link
Copy Markdown
Contributor

@slavalamp slavalamp commented May 15, 2026

Pull Request Checklist

Issue

AO3-5550 (restricted works)

AO3-6022 (hidden works)

Purpose

Hides restricted works from guests and hidden works from everyone on the Related Works page

References

Please merge this either together with or after #5817

Credit

slavalamp

Comment on lines +47 to +49
# Separate scopes for local and external parent works to make tests work
# (the join in of_unhidden_local_works gets both local and external works
# in web environments, but only local ones in automated tests)
Copy link
Copy Markdown
Contributor Author

@slavalamp slavalamp May 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any code style/structure improvement suggestions are extremely welcome in this pr, and if anyone knows why this happens and if tests could be made work without splitting regular and external works into different scopes, that'd be great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant