Skip to content

[ENG-8655] - Add a new page for pending preprint moderation#11284

Closed
Vlad0n20 wants to merge 2 commits into
CenterForOpenScience:feature/pbs-25-21from
Vlad0n20:fix/ENG-8655
Closed

[ENG-8655] - Add a new page for pending preprint moderation#11284
Vlad0n20 wants to merge 2 commits into
CenterForOpenScience:feature/pbs-25-21from
Vlad0n20:fix/ENG-8655

Conversation

@Vlad0n20

@Vlad0n20 Vlad0n20 commented Sep 5, 2025

Copy link
Copy Markdown
Contributor

Purpose

Changes

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

https://openscience.atlassian.net/browse/ENG-8655?atlOrigin=eyJpIjoiNWEyY2Q5MjVkMDcwNDczYWJjZmZkMmY1NWIyNzVlMjEiLCJwIjoiaiJ9

@opaduchak opaduchak left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, I have one minor question

Comment thread website/routes.py Outdated
from framework.auth import Auth
auth = Auth.from_kwargs(request.args.to_dict(), {})
if not preprint.can_view(auth):
if getattr(preprint, 'is_pending_moderation', True):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this necessary? Can't it be simplified to

Suggested change
if getattr(preprint, 'is_pending_moderation', True):
if preprint.is_pending_moderation:

@Vlad0n20
Vlad0n20 changed the base branch from feature/pbs-25-16 to feature/pbs-25-19 September 18, 2025 14:14
@adlius
adlius deleted the branch CenterForOpenScience:feature/pbs-25-21 October 16, 2025 13:17
@adlius adlius closed this Oct 16, 2025
@adlius adlius reopened this Oct 16, 2025
@adlius
adlius changed the base branch from feature/pbs-25-19 to feature/pbs-25-21 October 16, 2025 13:23
@adlius adlius closed this Oct 17, 2025
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.

3 participants