https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-05-01T14:23:50ZRedmineRedmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=25512008-05-01T14:23:50ZJon Evans
<ul><li><strong>File</strong> <a href="/attachments/480">view_wiki_history.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/480/view_wiki_history.diff">view_wiki_history.diff</a> added</li></ul><p>Attached is a patch implementing this feature.</p> Redmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=25522008-05-01T14:40:30ZJon Evans
<ul><li><strong>File</strong> <a href="/attachments/481">view_wiki_history.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/481/view_wiki_history.diff">view_wiki_history.diff</a> added</li></ul><p>Improved the patch - it now includes a migration which adds the view_wiki_history permission to all existing roles which already have the view_wiki_pages permission. This means that existing role capabilities will be unchanged unless you edit a role manually to remove the view_wiki_history permission.</p> Redmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=25542008-05-01T16:10:43ZCarl Nygard
<ul></ul><p>Just a suggestion: wouldn't it be simpler just to display the history link if the user has edit permsission? From a certain point of view, history is only useful if you're looking to edit (or revert changes), so doing it that way would result in a much simpler patch.</p> Redmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=25552008-05-01T16:25:33ZJon Evans
<ul><li><strong>File</strong> <a href="/attachments/482">wiki_history_needs_edit_permission.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/482/wiki_history_needs_edit_permission.diff">wiki_history_needs_edit_permission.diff</a> added</li></ul><p>Carl,</p>
<p>It would be a much simpler patch to do it your way, just moving :history, :diff and :annotate actions from :view_wiki_pages to :edit_wiki_pages. However it's not quite the same, sometimes it would be useful to see what changed on a page even if you don't have edit permissions.</p>
<p>Anyway, both methods would work fine for my purposes, I've attached another patch which does it your way.</p> Redmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=35022008-06-22T14:59:45ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul>This patch removes the 'History' link from the wiki page, but:
<ul>
<li>users should not be allowed to see previous versions (eg: /wiki/foo/Bar?version=16)</li>
<li>users should not be able to see wiki edits in the activity view</li>
</ul> Redmine - Feature #1154: Permission flag for disabling viewing of Wiki historyhttps://www.redmine.org/issues/1154?journal_id=47372008-09-13T16:40:43ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> changed from <i>Permissions and roles</i> to <i>Wiki</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>0.8</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Feature added in <a class="changeset" title="Adds a permission 'view wiki edits' so that wiki history can be hidden to certain users (#1154). ..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1815">r1815</a>.</p>