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

Fix open filter is not visible to analysts in worksheets listing #2448

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

xispa
Copy link
Member

@xispa xispa commented Dec 12, 2023

Description of the issue/feature this PR addresses

This Pull Request ensures the filter button "Mine" (aka review_state) is hidden instead of "Open" when the logged in user is an analyst and the access to worksheets is restricted in accordance with the setup setting.

Current behavior before PR

When logged in as analyst, the "Open" filter button in worksheets listing is hidden, but "Mine" is visible

Desired behavior after PR is merged

When logged in as analyst, the "Mine" filter button in worksheets listing is hidden, but "Open" is visible

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski merged commit f3c998a into 2.x Dec 12, 2023
2 checks passed
@ramonski ramonski deleted the fix-open-worksheets-hidden branch December 12, 2023 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants