-
Notifications
You must be signed in to change notification settings - Fork 526
Description
Workspace
announcements
📜 Description
Currently, the announcements plugin system lacks proper visibility controls for scheduled announcements. All users can view planned announcements regardless of their scheduled publication date or user permissions.
👍 Expected behavior
Access to scheduled announcements should be restricted to users and groups with appropriate permissions.
👎 Actual Behavior with Screenshots
All users can currently view planned announcements. This cannot be controlled through the permission plugin because the announcements view has no permission layer - it directly queries and returns all database records.
👟 Reproduction steps
- Log in as a user with announcement creation permissions.
- Create two announcements: one for today and another scheduled for the future.
- Log out and log in as a user without announcement permissions. Note that the future-scheduled announcement remains visible and displays its scheduled time.
📃 Provide the context for the Bug.
I need scheduled announcements to be hidden from users until their publication date. Currently, all users can see announcements I'm preparing, regardless of their scheduled time.
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Are you willing to submit PR?
No, I don't have time to work on this right now