Skip to content

WIP Only allow visible requests in project queues#9188

Draft
garethrees wants to merge 1 commit intodevelopfrom
project-request-visibility
Draft

WIP Only allow visible requests in project queues#9188
garethrees wants to merge 1 commit intodevelopfrom
project-request-visibility

Conversation

@garethrees
Copy link
Copy Markdown
Member

Contributors shouldn't see hidden or requester_only requests.

The tests for this are a bit confusing and not currently passing.

Need to check what happens in views only the requester has access to – do we show them requester_only stuff there? Or do we just make this a limitation on projects that it can't be used with reduced prominence requests? Probably the latter.

Contributors shouldn't see hidden or requester_only requests.

The tests for this are a bit confusing and not currently passing.

Need to check what happens in views only the requester has access to –
do we show them requester_only stuff there? Or do we just make this a
limitation on projects that it can't be used with reduced prominence
requests? Probably the latter.

def classifiable
where(awaiting_description: true)
where(awaiting_description: true, prominence: %[normal backpage])
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can't use is_public scope as that excludes private requests

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