Patch #22575
closedEnable updating private_notes property on journal edit form
Description
In current versions of Redmine, users can set 'private' flag when they add new notes, but they don't have any way of updating the flag of existing notes.
I have made the patch, enable to updating `private_notes` property on journal update form.

Files
Related issues
Updated by Go MAEDA almost 10 years ago
Interesting feature. But I think "Set notes as private" permission should be checked in JournalsController when updating "private" flag.
Updated by Takenori TAKAKI almost 10 years ago
- File enable_to_update_private_notes_trunk_r15361.patch enable_to_update_private_notes_trunk_r15361.patch added
Go MAEDA wrote:
Interesting feature. But I think "Set notes as private" permission should be checked in JournalsController when updating "private" flag.
Thank you for pointing out the not implemented of permission-check.
I added the permission-check, and re-created the patch.
(Compatible the latest trunk r15361)
Updated by Go MAEDA almost 10 years ago
Thanks for submitting a new patch. I confirmed that permissions are properly checked when updating the flag.
But I am having some trouble setting private note to public. I cleared "Private notes" check box and saved it, but the note still remains in private. Please see the attached video: cannot-set-private-to-public.mp4
Updated by Takenori TAKAKI almost 10 years ago
- File enable_to_update_journal_notes_private_or_public_trunk_r15361.patch enable_to_update_journal_notes_private_or_public_trunk_r15361.patch added
Go MAEDA wrote:
But I am having some trouble setting private note to public. I cleared "Private notes" check box and saved it, but the note still remains in private. Please see the attached video: cannot-set-private-to-public.mp4
Thank you for pointing out my patch's bug. I confirmed same trouble on my environment too...
I Fix the bug, and re-created the patch. Could you please try again the new patch?
Updated by Go MAEDA almost 10 years ago
Takenori TAKAKI wrote:
I Fix the bug, and re-created the patch. Could you please try again the new patch?
Works fine. Thanks!
Updated by Go MAEDA almost 10 years ago
- Is duplicate of Feature #12706: Ability to change the private flag when editing a note added
Updated by Go MAEDA over 9 years ago
- Target version set to 3.4.0
It looks good to me. Setting target version to 3.4.0.
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from New to Closed
Updated by Jean-Philippe Lang over 9 years ago
- Assignee set to Jean-Philippe Lang
- Target version deleted (
3.4.0)
Thanks for the patch. I've made a few changes after that.
Removing it from 3.4.0 as the feature is tracked in #12706.