revisit announcement operation permissions
Affected module UI, backend
-
Backend:
-
[x] User shouldn't be able to add an announcement if he/she doesn't have edit access on the entity
-
[x] User without edit permission can add and edit an announcement but can't delete the announcement created
-
UI:
-
[x] Ensure the permissions changes for announcements in the UI. (Current behavior from the UI is, if a user has an
EditAllaccess on an asset, he can add and edit an announcement. A user, irrespective of the permissions can delete the announcement if he/she is the author of the announcement.)
To Reproduce
Screenshots or steps to reproduce
Expected behavior A clear and concise description of what you expected to happen.
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: [e.g. 0.8]
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context Add any other context about the problem here.
- [x] Announcement widget visibility and position changes
@harshach the UI side changes for this were done in the #14196 PR. Do we need anything else here? If not we can close this issue.