Defect #35308
"Add news" button on global news index is displayed for users without permissions
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | News | |||
Target version: | 4.2.2 | |||
Resolution: | Fixed | Affected version: | 4.2.0 |
Description
"Add news" button on the global news index is always displayed even if the current user does not have the necessary permission to add a news article. The issue is due to #33167.
The issue was reported by Alexander Meindl in #2414#note-10.
Related issues
Associated revisions
"Add news" button on global news index is displayed for users without permission (#35308).
Patch by Alexander Meindl and Mizuki ISHIKAWA.
History
#1
Updated by Go MAEDA 12 months ago
- Related to Feature #33167: "Add news" button in cross-project News tab added
#3
Updated by Mizuki ISHIKAWA 12 months ago
- File add_test.patch
added
I added a test to fix_add_news_button.patch.