Public posts can be made under specific conditions even when a user is silenced
What happened?
Preconditions for Reproduction:
- Silence a specific user account (referred to as X) via the moderation panel.
- The user also possesses another account on the same server (referred to as Y) that is not silenced.
Steps to Reproduce:
- Log in with the Y account and open the post creation form. Ensure the visibility setting is set to "Public."
- Switch to the silenced X account using the account switcher icon in the top-left corner of the post creation form.
- Post the content without changing the visibility setting.
- The post is published with "Public" visibility.
Notes: If the public posting restriction is applied through a role (equivalent to a "silent" role) instead of using the silence feature in the moderation panel, the visibility remains unaffected, and the issue does not occur.
What did you expect to happen?
In step 4, even if the visibility setting is left as "Public," the post should instead be published with "Home" visibility.
Version
2025.1.0-dev-stelpolva
(This is a forked version based on the stable release of the original Sharkey software. I have also confirmed that this issue occurs on the unforked version 2024.11.2.)
Instance
minazukey.uk
What type of issue is this?
maybe client-side
What browser are you using? (Client-side issues only)
Chrome
What operating system are you using? (Client-side issues only)
Windows
Contribution Guidelines
By submitting this issue, you agree to follow our Contribution Guidelines
- I agree to follow this project's Contribution Guidelines
- I have searched the issue tracker for similar issues, and this is not a duplicate.