Skip to content

πŸ› announcements: Scheduled announcements are visible to all usersΒ #6388

@marianomoura

Description

@marianomoura

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.

Image

πŸ‘Ÿ Reproduction steps

  1. Log in as a user with announcement creation permissions.
  2. Create two announcements: one for today and another scheduled for the future.
  3. 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?

Are you willing to submit PR?

No, I don't have time to work on this right now

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestworkspace/announcementsUsed to tag announcements workspace isses and pull requests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions