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

Bug: "Mine" filter on worksheets depends on security setting #2068

Open
winniehell opened this issue Jul 26, 2022 · 1 comment
Open

Bug: "Mine" filter on worksheets depends on security setting #2068

winniehell opened this issue Jul 26, 2022 · 1 comment

Comments

@winniehell
Copy link
Contributor

Description

The worksheet access setting incorrectly changes which worksheets are visible when enabling the "Mine" filter.

Reproduction guide

  • create multiple worksheets assigned to different analysts
  • login as admin and uncheck Allow access to worksheets only to assigned analysts in Security settings on /senaite/bika_setup
  • login as analyst
  • navigate to worksheets and enable "mine" filter

Observed behaviour

All worksheets are visible:

screenshot of worksheets page with all worksheets being visible

Expected behaviour

Only worksheets assigned to logged in analyst are visible:

screenshot of worksheets page with only assigned worksheets being visible

Versions

senaite.core: 2.3.0 / 2.x Docker image (3a5d0fd6dc17)

@winniehell
Copy link
Contributor Author

reproduced on latest 2.x (b88d4bf)

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

No branches or pull requests

1 participant