Bart Stuyckens wrote:
that's interesting.
If I understand correctly, a user will only be able to see the issues he created.
User with "Add issue" view only own issue (created, assigned, watchers).
I suppose that file, documentation, forum tabs are still shared between all members of a project ?
Yes, see roles.
This is not solving the problem, but a very useful feature.
Simple patch, hide assined_to from form (for non_member users):
diff -ur redmine-0.9.3/app/views/issues/_attributes.rhtml redmine_backup2/app/views/issues/_attributes.rhtml
--- redmine-0.9.3/app/views/issues/_attributes.rhtml 2010-02-28 13:28:06.000000000 +0300
+++ redmine_backup2/app/views/issues/_attributes.rhtml 2010-04-24 18:41:56.170843570 +0400
@@ -8,7 +8,9 @@
<% end %>
<p><%= f.select :priority_id, (@priorities.collect {|p| [p.name, p.id]}), :required => true %></p>
+<% if !@issue.new_statuses_allowed_to(User.current).empty? %>
<p><%= f.select :assigned_to_id, (@issue.assignable_users.collect {|m| [m.name, m.id]}), :include_blank => true %></p>
+<% end %>
<% unless @project.issue_categories.empty? %>
<p><%= f.select :category_id, (@project.issue_categories.collect {|c| [c.name, c.id]}), :include_blank => true %>
<%= prompt_to_remote(image_tag('add.png', :style => 'vertical-align: middle;'),
@@ -30,6 +32,7 @@
<% end %>
</div>
+<% if !@issue.new_statuses_allowed_to(User.current).empty? %>
<div class="splitcontentright">
<p><%= f.text_field :start_date, :size => 10 %><%= calendar_for('issue_start_date') %></p>
<p><%= f.text_field :due_date, :size => 10 %><%= calendar_for('issue_due_date') %></p>
@@ -38,6 +41,7 @@
<p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
<% end %>
</div>
+<% end %>
<div style="clear:both;"> </div>
<%= render :partial => 'form_custom_fields' %>
To apply a patch, I guess I have to checkout the source ? Where can I find documentation to do this ?
cd /path/to/redmine
patch -p 1 </patch/to/redmine_own_v.1.patch
And restart web server.