Index: test/unit/issue_test.rb
===================================================================
--- test/unit/issue_test.rb	(revision 4732)
+++ test/unit/issue_test.rb	(working copy)
@@ -521,6 +521,54 @@
     assert !Issue.new(:due_date => nil).overdue?
     assert !Issue.new(:due_date => 1.day.ago.to_date, :status => IssueStatus.find(:first, :conditions => {:is_closed => true})).overdue?
   end
+  
+  def test_default_assign
+    # Test fixtures contain "add_private_issues" permissions
+    # Anonimous
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 6, :status_id => 1, :is_private => true, :priority => IssuePriority.all.first, :subject => 'test_private_create', :description => 'IssueTest#test_private_create', :estimated_hours => '5:30')
+    assert issue.save
+    issue.reload
+    assert_equal false, issue.is_private
+    # Manager
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 2, :status_id => 1, :is_private => true, :priority => IssuePriority.all.first, :subject => 'test_private_create', :description => 'IssueTest#test_private_create', :estimated_hours => '5:30')
+    assert issue.save
+    issue.reload
+    assert_equal true, issue.is_private
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 2, :status_id => 1, :is_private => false, :priority => IssuePriority.all.first, :subject => 'test_private_create', :description => 'IssueTest#test_private_create', :estimated_hours => '5:30')
+    assert issue.save
+    issue.reload
+    assert_equal false, issue.is_private
+    # Reporter_is_private
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 13, :status_id => 1, :is_private => false, :priority => IssuePriority.all.first, :subject => 'test_private_create', :description => 'IssueTest#test_private_create', :estimated_hours => '5:30')
+    assert issue.save
+    issue.reload
+    assert_equal true, issue.is_private
+  end
+  
+  def test_visible
+    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 13, :status_id => 1, :is_private => true, :priority => IssuePriority.all.first, :subject => 'test_private_create', :description => 'IssueTest#test_private_create', :estimated_hours => '5:30')
+    assert issue.save
+    issue.reload
+    # Test fixtures contain "view_private_issues" permissions
+    # User with id #2 has Manager role
+    assert issue.visible?(User.find(2))
+    # User with id #3 has Developer role
+    assert issue.visible?(User.find(3))
+    # User with id #6 has Anonymous role
+    assert ! issue.visible?(User.find(6))
+    # User with id #4 does not have any role in project
+    assert ! issue.visible?(User.find(4))
+    # User with id #12 has Reporter role
+    assert ! issue.visible?(User.find(12))
+    # Test for author
+    assert issue.visible?(User.find(13))
+    # Test for assinged user #4
+    issue.assigned_to=User.find(4)
+    assert issue.visible?(User.find(4))
+    # Test for watcher #12
+    issue.add_watcher(User.find(12))
+    assert issue.visible?(User.find(12))
+  end
 
   context "#assignable_users" do
     should "be Users" do
@@ -537,7 +585,7 @@
 
     should "not show the issue author twice" do
       assignable_user_ids = Issue.find(1).assignable_users.collect(&:id)
-      assert_equal 2, assignable_user_ids.length
+      assert_equal 4, assignable_user_ids.length
       
       assignable_user_ids.each do |user_id|
         assert_equal 1, assignable_user_ids.count(user_id), "User #{user_id} appears more or less than once"
@@ -671,7 +719,7 @@
   test "#by_tracker" do
     groups = Issue.by_tracker(Project.find(1))
     assert_equal 3, groups.size
-    assert_equal 7, groups.inject(0) {|sum, group| sum + group['total'].to_i}
+    assert_equal 8, groups.inject(0) {|sum, group| sum + group['total'].to_i}
   end
 
   test "#by_version" do
@@ -683,7 +731,7 @@
   test "#by_priority" do
     groups = Issue.by_priority(Project.find(1))
     assert_equal 4, groups.size
-    assert_equal 7, groups.inject(0) {|sum, group| sum + group['total'].to_i}
+    assert_equal 8, groups.inject(0) {|sum, group| sum + group['total'].to_i}
   end
 
   test "#by_category" do
@@ -700,8 +748,8 @@
 
   test "#by_author" do
     groups = Issue.by_author(Project.find(1))
-    assert_equal 4, groups.size
-    assert_equal 7, groups.inject(0) {|sum, group| sum + group['total'].to_i}
+    assert_equal 5, groups.size
+    assert_equal 8, groups.inject(0) {|sum, group| sum + group['total'].to_i}
   end
 
   test "#by_subproject" do
Index: test/unit/project_test.rb
===================================================================
--- test/unit/project_test.rb	(revision 4732)
+++ test/unit/project_test.rb	(working copy)
@@ -136,10 +136,10 @@
   end
   
   def test_destroy
-    # 2 active members
-    assert_equal 2, @ecookbook.members.size
+    # 4 active members
+    assert_equal 4, @ecookbook.members.size
     # and 1 is locked
-    assert_equal 3, Member.find(:all, :conditions => ['project_id = ?', @ecookbook.id]).size
+    assert_equal 5, Member.find(:all, :conditions => ['project_id = ?', @ecookbook.id]).size
     # some boards
     assert @ecookbook.boards.any?
     
@@ -842,4 +842,4 @@
     
   end
 
-end
+end
\ No newline at end of file
Index: test/functional/issues_controller_test.rb
===================================================================
--- test/functional/issues_controller_test.rb	(revision 4732)
+++ test/functional/issues_controller_test.rb	(working copy)
@@ -280,6 +280,7 @@
   
   def test_show_should_deny_member_access_without_permission
     Role.find(1).remove_permission!(:view_issues)
+    Role.find(1).remove_permission!(:view_private_issues)
     @request.session[:user_id] = 2
     get :show, :id => 1
     assert_response 403
@@ -316,6 +317,55 @@
     assert_not_nil assigns(:issue)
   end
 
+  def test_show_private_issue_by_manager
+    @request.session[:user_id] = 2
+    get :show, :id => 14
+    assert_response :success
+    assert_tag :td, :attributes => { :class => 'private-issue'}
+  end
+
+  def test_show_private_issue_by_admin
+    @request.session[:user_id] = 1
+    get :show, :id => 14
+    assert_response :success
+    assert_tag :td, :attributes => { :class => 'private-issue'}
+  end
+  
+  def test_show_private_issue_by_developer
+    @request.session[:user_id] = 3
+    get :show, :id => 14
+    assert_response :success
+    # Developer can view private issues
+    assert_tag :td, :attributes => { :class => 'private-issue'}
+  end
+
+  def test_show_private_issue_by_issue_author
+    # issue author always can browse his issue
+    @request.session[:user_id] = 12
+    get :show, :id => 14
+    assert_response :success
+    assert_tag :input, :attributes => { :name => 'issue[is_private]'}
+    assert_tag :td, :attributes => { :class => 'private-issue'}
+  end
+
+  def test_show_private_issue_by_other_member
+    # Reporter2 not can browse his issue
+    @request.session[:user_id] = 13
+    get :show, :id => 14
+    assert_response 403
+  end
+
+  def test_show_private_issue_by_non_member
+    @request.session[:user_id] = 4
+    get :show, :id => 14
+    assert_response 403
+  end
+
+  def test_show_private_issue_by_anonymous
+    get :show, :id => 14
+    assert_response 403
+  end
+  
   def test_get_new
     @request.session[:user_id] = 2
     get :new, :project_id => 1, :tracker_id => 1
@@ -326,6 +376,49 @@
                                                  :value => 'Default string' }
   end
 
+  def test_get_new_manager
+    # Manager have add_private_issue permission
+    @request.session[:user_id] = 2
+    get :new, :project_id => 1, :tracker_id => 1
+    assert_response :success
+    assert_template 'new'
+    assert_tag :input, :attributes => { :name => 'issue[is_private]'}
+  end
+
+  def test_get_new_developer
+    @request.session[:user_id] = 3
+    get :new, :project_id => 1, :tracker_id => 1
+    assert_response :success
+    assert_template 'new'
+    # Developer can't change issue type
+    assert_no_tag :input, :attributes => { :name => 'issue[is_private]'}
+  end
+
+  def test_get_new_reporter
+    @request.session[:user_id] = 12
+    get :new, :project_id => 1, :tracker_id => 1
+    assert_response :success
+    assert_template 'new'
+    # Reporter can add private issue
+    assert_tag :input, :attributes => { :name => 'issue[is_private]'}
+  end
+
+  def test_get_new_admin
+    @request.session[:user_id] = 1
+    get :new, :project_id => 1, :tracker_id => 1
+    assert_response :success
+    assert_template 'new'
+    assert_tag :input, :attributes => { :name => 'issue[is_private]'}
+  end
+
+  def test_get_new_reporter2
+    @request.session[:user_id] = 13
+    get :new, :project_id => 1, :tracker_id => 1
+    assert_response :success
+    assert_template 'new'
+    assert_no_tag :input, :attributes => { :name => 'issue[is_private]'}
+  end
+
   def test_get_new_without_tracker_id
     @request.session[:user_id] = 2
     get :new, :project_id => 1
@@ -1106,4 +1199,4 @@
                      :child => {:tag => 'form',
                                 :child => {:tag => 'input', :attributes => {:name => 'issues', :type => 'hidden', :value => '1'}}}
   end
-end
+end
\ No newline at end of file
Index: test/functional/activities_controller_test.rb
===================================================================
--- test/functional/activities_controller_test.rb	(revision 4732)
+++ test/functional/activities_controller_test.rb	(working copy)
@@ -84,4 +84,81 @@
       :attributes => {:href => 'http://test.host/issues/11'}}
   end
   
-end
+  
+  #private issue are not visible for Anonymous user in global Activity
+  def test_private_issue_global_activity_for_anonymous
+    get :index
+    assert_response :success
+    assert_template 'index'
+    assert_not_nil assigns(:events_by_day)
+
+    assert_no_tag :tag => "h3",
+               :content => /#{5.day.ago.to_date.day}/,
+               :sibling => { :tag => "dl",
+                 :child => { :tag => "dt",
+                   :attributes => { :class => /issue/ },
+                   :child => { :tag => "a",
+                     :content => /#{Issue.find(14).subject}/,
+                   }
+                 }
+               }
+  end
+
+  def test_private_issue_global_activity_for_manager
+    @request.session[:user_id] = 2 # manager
+    get :index
+    assert_response :success
+    assert_template 'index'
+    assert_not_nil assigns(:events_by_day)
+
+    assert_tag :tag => "h3",
+               :content => /#{5.day.ago.to_date.day}/,
+               :sibling => { :tag => "dl",
+                 :child => { :tag => "dt",
+                   :attributes => { :class => /issue/ },
+                   :child => { :tag => "a",
+                     :content => /#{Issue.find(14).subject}/,
+                   }
+                 }
+               }
+  end
+
+  def test_private_issue_global_activity_for_developer
+    @request.session[:user_id] = 3 # developer
+    get :index
+    assert_response :success
+    assert_template 'index'
+    assert_not_nil assigns(:events_by_day)
+
+    assert_tag :tag => "h3",
+               :content => /#{5.day.ago.to_date.day}/,
+               :sibling => { :tag => "dl",
+                 :child => { :tag => "dt",
+                   :attributes => { :class => /issue/ },
+                   :child => { :tag => "a",
+                     :content => /#{Issue.find(14).subject}/,
+                   }
+                 }
+               }
+  end
+
+  def test_private_issue_global_activity_for_non_member
+    @request.session[:user_id] = 4 # does not have any role in project #1
+    get :index
+    assert_response :success
+    assert_template 'index'
+    assert_not_nil assigns(:events_by_day)
+
+    assert_no_tag :tag => "h3",
+               :content => /#{5.day.ago.to_date.day}/,
+               :sibling => { :tag => "dl",
+                 :child => { :tag => "dt",
+                   :attributes => { :class => /issue/ },
+                   :child => { :tag => "a",
+                     :content => /#{Issue.find(14).subject}/,
+                   }
+                 }
+               }
+  end
+  
+end
\ No newline at end of file
Index: test/fixtures/roles.yml
===================================================================
--- test/fixtures/roles.yml	(revision 4732)
+++ test/fixtures/roles.yml	(working copy)
@@ -12,6 +12,8 @@
     - :manage_categories
     - :view_issues
     - :add_issues
+    - :add_private_issues
+    - :view_private_issues
     - :edit_issues
     - :manage_issue_relations
     - :manage_subtasks
@@ -65,6 +67,7 @@
     - :manage_categories
     - :view_issues
     - :add_issues
+    - :view_private_issues
     - :edit_issues
     - :manage_issue_relations
     - :manage_subtasks
@@ -109,6 +112,7 @@
     - :manage_categories
     - :view_issues
     - :add_issues
+    - :add_private_issues
     - :edit_issues
     - :manage_issue_relations
     - :add_issue_notes
@@ -184,4 +188,41 @@
     - :view_changesets
 
   position: 5
+roles_006: 
+  name: Reporter2
+  id: 6
+  builtin: 0
+  permissions: |
+    --- 
+    - :edit_project
+    - :manage_members
+    - :manage_versions
+    - :manage_categories
+    - :view_issues
+    - :add_private_issues
+    - :edit_issues
+    - :manage_issue_relations
+    - :add_issue_notes
+    - :move_issues
+    - :view_issue_watchers
+    - :save_queries
+    - :view_gantt
+    - :view_calendar
+    - :log_time
+    - :view_time_entries
+    - :manage_news
+    - :comment_news
+    - :view_documents
+    - :manage_documents
+    - :view_wiki_pages
+    - :view_wiki_edits
+    - :edit_wiki_pages
+    - :delete_wiki_pages
+    - :add_messages
+    - :manage_boards
+    - :view_files
+    - :manage_files
+    - :browse_repository
+    - :view_changesets
 
+  position: 6
Index: test/fixtures/issues.yml
===================================================================
--- test/fixtures/issues.yml	(revision 4732)
+++ test/fixtures/issues.yml	(working copy)
@@ -244,3 +244,21 @@
   root_id: 13
   lft: 1
   rgt: 2
+issues_014: 
+  created_on: <%= 5.days.ago.to_date.to_s(:db) %>
+  project_id: 1
+  updated_on: <%= 2.days.ago.to_date.to_s(:db) %>
+  priority_id: 5
+  subject: Private Issue
+  id: 14
+  fixed_version_id: 
+  category_id: 
+  description: Private Issue
+  tracker_id: 1
+  assigned_to_id: 
+  author_id: 12
+  status_id: 1
+  is_private: 1
+  root_id: 14
+  lft: 1
+  rgt: 2
Index: test/fixtures/member_roles.yml
===================================================================
--- test/fixtures/member_roles.yml	(revision 4732)
+++ test/fixtures/member_roles.yml	(working copy)
@@ -47,3 +47,13 @@
   role_id: 2
   member_id: 10
   inherited_from: 10
+member_roles_012: 
+  id: 12
+  role_id: 3
+  member_id: 11
+  inherited_from: 11
+member_roles_013: 
+  id: 13
+  role_id: 6
+  member_id: 12
+  inherited_from: 12
Index: test/fixtures/members.yml
===================================================================
--- test/fixtures/members.yml	(revision 4732)
+++ test/fixtures/members.yml	(working copy)
@@ -60,3 +60,13 @@
   project_id: 2
   user_id: 8
   mail_notification: false
+members_011: 
+  id: 11
+  created_on: 2006-07-19 19:35:37 +02:00
+  project_id: 1
+  user_id: 12
+members_012: 
+  id: 12
+  created_on: 2006-07-19 19:35:47 +02:00
+  project_id: 1
+  user_id: 13
Index: test/fixtures/users.yml
===================================================================
--- test/fixtures/users.yml	(revision 4732)
+++ test/fixtures/users.yml	(working copy)
@@ -152,5 +152,35 @@
   id: 11
   lastname: B Team
   type: Group
-
-  
\ No newline at end of file
+users_012:
+  id: 12
+  created_on: 2009-01-27 01:20:19 +03:00
+  status: 1
+  last_login_on:
+  language: 'ru'
+  hashed_password: 7feb7657aa7a7bf5aef3414a5084875f27192415
+  updated_on: 2009-01-27 19:33:19 +03:00
+  admin: false
+  mail: vasja@somenet.foo
+  lastname: Pupkin
+  firstname: Vasja
+  auth_source_id:
+  mail_notification: true
+  login: vasiliy
+  type: User
+users_013:
+  id: 13
+  created_on: 2009-01-27 01:20:29 +03:00
+  status: 1
+  last_login_on:
+  language: 'ru'
+  hashed_password: 7feb7657aa7a7bf5aef3414a5084875f27192416
+  updated_on: 2009-01-27 19:33:29 +03:00
+  admin: false
+  mail: petia@somenet.foo
+  lastname: Pupkin
+  firstname: Petia
+  auth_source_id:
+  mail_notification: true
+  login: petr
+  type: User
\ No newline at end of file
Index: app/helpers/issues_helper.rb
===================================================================
--- app/helpers/issues_helper.rb	(revision 4732)
+++ app/helpers/issues_helper.rb	(working copy)
@@ -133,6 +133,10 @@
         label = l(:field_parent_issue)
         value = "##{detail.value}" unless detail.value.blank?
         old_value = "##{detail.old_value}" unless detail.old_value.blank?
+
+      when detail.prop_key == 'is_private'
+        value = l(detail.value == "1" ? :general_text_Yes : :general_text_No)
+        old_value = l(detail.old_value == "1" ? :general_text_Yes : :general_text_No)
       end
     when 'cf'
       custom_field = CustomField.find_by_id(detail.prop_key)
@@ -199,6 +203,7 @@
                   l(:field_priority),
                   l(:field_subject),
                   l(:field_assigned_to),
+                  l(:field_is_private),
                   l(:field_category),
                   l(:field_fixed_version),
                   l(:field_author),
@@ -226,6 +231,7 @@
                   issue.priority.name,
                   issue.subject,
                   issue.assigned_to,
+                  issue.is_private,
                   issue.category,
                   issue.fixed_version,
                   issue.author.name,
Index: app/models/issue.rb
===================================================================
--- app/models/issue.rb	(revision 4732)
+++ app/models/issue.rb	(working copy)
@@ -73,9 +73,9 @@
   after_destroy :destroy_children
   after_destroy :update_parent_attributes
   
-  # Returns true if usr or current user is allowed to view the issue
-  def visible?(usr=nil)
-    (usr || User.current).allowed_to?(:view_issues, self.project)
+  # Returns true if user is allowed to view the issue
+  def visible?(user=User.current)
+    user.allowed_to?(:view_issues, self.project) && (is_private==false || user.allowed_to?(:view_private_issues, self.project) || author == user || assigned_to == user || watched_by?(user))
   end
   
   def after_initialize
@@ -213,6 +213,7 @@
     estimated_hours
     custom_field_values
     lock_version
+    is_private
   ) unless const_defined?(:SAFE_ATTRIBUTES)
   
   # Safely sets attributes
@@ -241,6 +242,10 @@
       end
     end
     
+    if attrs['is_private'] and !user.allowed_to?(:add_private_issues, project)
+      attrs.delete('is_private')
+    end
+    
     self.attributes = attrs
   end
   
@@ -501,7 +506,7 @@
         @time_entry.attributes = params[:time_entry]
         self.time_entries << @time_entry
       end
-  
+
       if valid?
         attachments = Attachment.attach_files(self, params[:attachments])
   
Index: app/models/query.rb
===================================================================
--- app/models/query.rb	(revision 4732)
+++ app/models/query.rb	(working copy)
@@ -129,6 +129,7 @@
     QueryColumn.new(:assigned_to, :sortable => ["#{User.table_name}.lastname", "#{User.table_name}.firstname", "#{User.table_name}.id"], :groupable => true),
     QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on", :default_order => 'desc'),
     QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name", :groupable => true),
+    QueryColumn.new(:is_private, :sortable => "#{Issue.table_name}.is_private", :groupable => true),
     QueryColumn.new(:fixed_version, :sortable => ["#{Version.table_name}.effective_date", "#{Version.table_name}.name"], :default_order => 'desc', :groupable => true),
     QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"),
     QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"),
@@ -198,6 +199,7 @@
     
     if User.current.logged?
       @available_filters["watcher_id"] = { :type => :list, :order => 15, :values => [["<< #{l(:label_me)} >>", "me"]] }
+      @available_filters["is_private"] = { :type => :list, :values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]], :order => 16 }
     end
   
     if project
@@ -442,6 +444,9 @@
       
     end if filters and valid?
     
+    db_table = Watcher.table_name
+    cu_id = User.current.id.to_s
+    filters_clauses <<  '(' + Project.allowed_to_condition(User.current, :view_private_issues) + " OR #{Issue.table_name}.is_private=0 OR #{Issue.table_name}.author_id=#{cu_id} OR #{Issue.table_name}.assigned_to_id=#{cu_id} OR #{Issue.table_name}.id IN (SELECT #{db_table}.watchable_id FROM #{db_table} WHERE #{db_table}.watchable_type='Issue' AND user_id=#{cu_id}))"
     (filters_clauses << project_statement).join(' AND ')
   end
   
Index: app/models/user.rb
===================================================================
--- app/models/user.rb	(revision 4732)
+++ app/models/user.rb	(working copy)
@@ -339,7 +339,7 @@
       
       roles = roles_for_project(project)
       return false unless roles
-      roles.detect {|role| (project.is_public? || role.member?) && role.allowed_to?(action)}
+      roles.any? {|role| (project.is_public? || role.member?) && role.allowed_to?(action)}
       
     elsif options[:global]
       # Admin users are always authorized
@@ -347,7 +347,7 @@
       
       # authorize if user has at least one role that has this permission
       roles = memberships.collect {|m| m.roles}.flatten.uniq
-      roles.detect {|r| r.allowed_to?(action)} || (self.logged? ? Role.non_member.allowed_to?(action) : Role.anonymous.allowed_to?(action))
+      roles.any? {|r| r.allowed_to?(action)} || (self.logged? ? Role.non_member.allowed_to?(action) : Role.anonymous.allowed_to?(action))
     else
       false
     end
Index: app/controllers/issues_controller.rb
===================================================================
--- app/controllers/issues_controller.rb	(revision 4732)
+++ app/controllers/issues_controller.rb	(working copy)
@@ -97,6 +97,7 @@
   end
   
   def show
+    return render_403 if !@issue.visible?
     @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC")
     @journals.each_with_index {|j,i| j.indice = i+1}
     @journals.reverse! if User.current.wants_comments_in_reverse_order?
Index: app/controllers/projects_controller.rb
===================================================================
--- app/controllers/projects_controller.rb	(revision 4732)
+++ app/controllers/projects_controller.rb	(working copy)
@@ -156,6 +156,12 @@
     @open_issues_by_tracker = Issue.visible.count(:group => :tracker,
                                             :include => [:project, :status, :tracker],
                                             :conditions => ["(#{cond}) AND #{IssueStatus.table_name}.is_closed=?", false])
+    @total_private_issues_by_tracker = Issue.count(:group => :tracker,
+                                             :include => [:project, :status, :tracker],
+                                             :conditions => ["(#{cond}) AND #{Issue.table_name}.is_private=?", true])
+    @open_private_issues_by_tracker = Issue.count(:group => :tracker,
+                                             :include => [:project, :status, :tracker],
+                                             :conditions => ["(#{cond}) AND #{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.is_private=?", false, true])
     @total_issues_by_tracker = Issue.visible.count(:group => :tracker,
                                             :include => [:project, :status, :tracker],
                                             :conditions => cond)
Index: app/controllers/activities_controller.rb
===================================================================
--- app/controllers/activities_controller.rb	(revision 4732)
+++ app/controllers/activities_controller.rb	(working copy)
@@ -22,6 +22,9 @@
     @activity.scope = (@author.nil? ? :default : :all) if @activity.scope.empty?
 
     events = @activity.events(@date_from, @date_to)
+	
+	# The private issues should be removed from events
+    events.delete_if { |e| e.is_a?(Issue) && !e.visible? || e.is_a?(Journal) && !e.issue.visible? }
     
     if events.empty? || stale?(:etag => [events.first, User.current])
       respond_to do |format|
Index: app/views/projects/show.rhtml
===================================================================
--- app/views/projects/show.rhtml	(revision 4732)
+++ app/views/projects/show.rhtml	(working copy)
@@ -31,8 +31,14 @@
       <li><%= link_to tracker.name, :controller => 'issues', :action => 'index', :project_id => @project, 
                                                 :set_filter => 1, 
                                                 "tracker_id" => tracker.id %>:
+           <% if User.current.allowed_to?(:view_private_issues, @project) %>
 					<%= l(:label_x_open_issues_abbr_on_total, :count => @open_issues_by_tracker[tracker].to_i,
-																										:total => @total_issues_by_tracker[tracker].to_i) %>
+                                                                                                                                       :total => (@total_issues_by_tracker[tracker].to_i)) %>
+        (<%= @total_private_issues_by_tracker[tracker] || 0 %> <%= l(:label_private_issues, @total_private_issues_by_tracker[tracker] || 0) %>)
+              <% else %>
+            <%= l(:label_x_open_issues_abbr_on_total, :count => (@open_issues_by_tracker[tracker].to_i)-(@open_private_issues_by_tracker[tracker] || 0),
+                                                                                                                                       :total => (@total_issues_by_tracker[tracker].to_i)-(@total_private_issues_by_tracker[tracker] || 0)) %>
+            <% end %>
 			</li>
     <% end %>
     </ul>
Index: app/views/issues/_form.rhtml
===================================================================
--- app/views/issues/_form.rhtml	(revision 4732)
+++ app/views/issues/_form.rhtml	(working copy)
@@ -24,6 +24,9 @@
 <div id="attributes" class="attributes">
 	<%= render :partial => 'issues/attributes' %>
 </div>
+<% if User.current.allowed_to?(:add_issues, @project) && User.current.allowed_to?(:add_private_issues, @project) %>
+<p><%=f.check_box :is_private %></p>
+<% end %>
 
 <% if @issue.new_record? %>
 <p id="attachments_form"><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p>
Index: app/views/issues/show.rhtml
===================================================================
--- app/views/issues/show.rhtml	(revision 4732)
+++ app/views/issues/show.rhtml	(working copy)
@@ -40,6 +40,9 @@
     <% if @issue.estimated_hours %>
     <th class="estimated-hours"><%=l(:field_estimated_hours)%>:</th><td class="estimated-hours"><%= l_hours(@issue.estimated_hours) %></td>
     <% end %>
+    <% if @issue.is_private %>
+    <th class="private-issue"><%=l(:field_is_private)%>:</th><td class="private-issue"><%=l(:general_text_Yes)%></td>
+    <% end %>
 </tr>
 <%= render_custom_fields_rows(@issue) %>
 <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
Index: config/locales/lt.yml
===================================================================
--- config/locales/lt.yml	(revision 4732)
+++ config/locales/lt.yml	(working copy)
@@ -334,6 +334,7 @@
   field_default_value: Numatytoji vertė
   field_comments_sorting: rodyti komentarus
   field_parent_title: Aukštesnio lygio puslapis
+  field_is_private: Private issue
   field_editable: Redaguojamas
   field_watcher: Stebėtojas
   field_identity_url: OpenID URL
@@ -396,6 +397,8 @@
   permission_manage_versions: Valdyti versijas
   permission_manage_categories: Valdyti darbų kategorijas
   permission_add_issues: Sukurti darbus
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Redaguoti darbus
   permission_manage_issue_relations: Valdyti darbų ryšius
   permission_add_issue_notes: Sukurti pastabas
@@ -564,6 +567,8 @@
   label_public_projects: Vieši projektai
   label_open_issues: atidaryta
   label_open_issues_plural: atidaryti
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: uždaryta
   label_closed_issues_plural: uždaryti
   label_x_open_issues_abbr_on_total:
Index: config/locales/ro.yml
===================================================================
--- config/locales/ro.yml	(revision 4732)
+++ config/locales/ro.yml	(working copy)
@@ -256,6 +256,7 @@
   field_default_value: Valoare implicita
   field_comments_sorting: Afișează comentarii
   field_parent_title: Pagina superioara
+  field_is_private: Private issue
   field_editable: Modificabil
   field_watcher: Urmărește
   field_identity_url: URL OpenID
@@ -310,6 +311,8 @@
   permission_manage_versions: Editează versiuni
   permission_manage_categories: Editează categorii
   permission_add_issues: Adaugă tichete
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Editează tichete
   permission_manage_issue_relations: Editează relații tichete
   permission_add_issue_notes: Adaugă note
@@ -476,6 +479,8 @@
   label_public_projects: Proiecte publice
   label_open_issues: deschis
   label_open_issues_plural: deschise
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: închis
   label_closed_issues_plural: închise
   label_x_open_issues_abbr_on_total:
Index: config/locales/zh.yml
===================================================================
--- config/locales/zh.yml	(revision 4732)
+++ config/locales/zh.yml	(working copy)
@@ -296,6 +296,7 @@
   field_default_value: 默认值
   field_comments_sorting: 显示注释
   field_parent_title: 上级页面
+  field_is_private: Private issue
   field_editable: 可编辑
   field_watcher: 跟踪者
   field_identity_url: OpenID URL
@@ -365,6 +366,8 @@
   permission_manage_categories: 管理问题类别
   permission_view_issues: 查看问题
   permission_add_issues: 新建问题
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: 更新问题
   permission_manage_issue_relations: 管理问题关联
   permission_add_issue_notes: 添加说明
@@ -535,6 +538,8 @@
   label_public_projects: 公开的项目
   label_open_issues: 打开
   label_open_issues_plural: 打开
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: 已关闭
   label_closed_issues_plural: 已关闭
   label_x_open_issues_abbr_on_total:
Index: config/locales/pt.yml
===================================================================
--- config/locales/pt.yml	(revision 4732)
+++ config/locales/pt.yml	(working copy)
@@ -273,6 +273,7 @@
   field_default_value: Valor por omissão
   field_comments_sorting: Mostrar comentários
   field_parent_title: Página pai
+  field_is_private: Private issue
   
   setting_app_title: Título da aplicação
   setting_app_subtitle: Sub-título da aplicação
@@ -432,6 +433,8 @@
   label_public_projects: Projectos públicos
   label_open_issues: aberto
   label_open_issues_plural: abertos
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: fechado
   label_closed_issues_plural: fechados
   label_x_open_issues_abbr_on_total:
@@ -749,6 +752,8 @@
   permission_edit_own_time_entries: Editar horas pessoais
   permission_manage_public_queries: Gerir queries públicas
   permission_add_issues: Adicionar tarefas
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Registar tempo gasto
   permission_view_changesets: Ver changesets
   permission_view_time_entries: Ver tempo gasto
Index: config/locales/ca.yml
===================================================================
--- config/locales/ca.yml	(revision 4732)
+++ config/locales/ca.yml	(working copy)
@@ -289,6 +289,7 @@
   field_default_value: Valor predeterminat
   field_comments_sorting: Mostra els comentaris
   field_parent_title: Pàgina pare
+  field_is_private: Private issue
   field_editable: Es pot editar
   field_watcher: Vigilància
   field_identity_url: URL OpenID
@@ -361,6 +362,8 @@
   permission_manage_categories: Gestiona les categories dels assumptes
   permission_view_issues: "Visualitza els assumptes"
   permission_add_issues: Afegeix assumptes
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Edita els assumptes
   permission_manage_issue_relations: Gestiona les relacions dels assumptes
   permission_add_issue_notes: Afegeix notes
@@ -536,6 +539,8 @@
   label_public_projects: Projectes públics
   label_open_issues: obert
   label_open_issues_plural: oberts
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: tancat
   label_closed_issues_plural: tancats
   label_x_open_issues_abbr_on_total:
Index: config/locales/pt-BR.yml
===================================================================
--- config/locales/pt-BR.yml	(revision 4732)
+++ config/locales/pt-BR.yml	(working copy)
@@ -288,6 +288,7 @@
   field_default_value: Padrão
   field_comments_sorting: Visualizar comentários
   field_parent_title: Página pai
+  field_is_private: Private issue
 
   setting_app_title: Título da aplicação
   setting_app_subtitle: Sub-título da aplicação
@@ -447,6 +448,8 @@
   label_public_projects: Projetos públicos
   label_open_issues: Aberta
   label_open_issues_plural: Abertas
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: Fechada
   label_closed_issues_plural: Fechadas
   label_x_open_issues_abbr_on_total:
@@ -765,6 +768,8 @@
   permission_edit_own_time_entries: Editar o próprio tempo de trabalho
   permission_manage_public_queries: Gerenciar consultas publicas
   permission_add_issues: Adicionar tarefas
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Adicionar tempo gasto
   permission_view_changesets: Ver changesets
   permission_view_time_entries: Ver tempo gasto
Index: config/locales/tr.yml
===================================================================
--- config/locales/tr.yml	(revision 4732)
+++ config/locales/tr.yml	(working copy)
@@ -436,6 +436,8 @@
   label_public_projects: Genel Projeler
   label_open_issues: açık
   label_open_issues_plural: açık
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: kapalı
   label_closed_issues_plural: kapalı
   label_x_open_issues_abbr_on_total:
@@ -742,6 +744,7 @@
   label_generate_key: Generate a key
   setting_sequential_project_identifiers: Generate sequential project identifiers
   field_parent_title: Parent page
+  field_is_private: Private issue
   text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
   text_enumeration_category_reassign_to: 'Reassign them to this value:'
   label_issue_watchers: Watchers
@@ -764,6 +767,8 @@
   permission_edit_own_time_entries: Edit own time logs
   permission_manage_public_queries: Manage public queries
   permission_add_issues: Add issues
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Log spent time
   permission_view_changesets: View changesets
   permission_view_time_entries: View spent time
Index: config/locales/ru.yml
===================================================================
--- config/locales/ru.yml	(revision 4732)
+++ config/locales/ru.yml	(working copy)
@@ -357,6 +357,7 @@
   field_port: Порт
   field_possible_values: Возможные значения
   field_priority: Приоритет
+  field_is_private: Частная задача
   field_project: Проект
   field_redirect_existing_links: Перенаправить существующие ссылки
   field_regexp: Регулярное выражение
@@ -599,6 +600,10 @@
   label_not_contains: не содержит
   label_not_equals: не соответствует
   label_open_issues: открыт
+  label_private_issues_plural2: частных
+  label_private_issues_plural5: частных
+  label_private_issues_plural: частных
+  label_private_issues: частная
   label_open_issues_plural: открыто
   label_open_issues_plural2: открыто
   label_open_issues_plural5: открыто
@@ -790,6 +795,8 @@
 
   permission_add_issues: Добавление задач
   permission_add_issue_notes: Добавление примечаний
+  permission_add_private_issues: Добавление частных задач
+  permission_view_private_issues: Просмотр частных задач
   permission_add_issue_watchers: Добавление наблюдателей
   permission_add_messages: Отправка сообщений
   permission_browse_repository: Просмотр хранилища
Index: config/locales/id.yml
===================================================================
--- config/locales/id.yml	(revision 4732)
+++ config/locales/id.yml	(working copy)
@@ -275,6 +275,7 @@
   field_default_value: Nilai default
   field_comments_sorting: Tampilkan komentar
   field_parent_title: Halaman induk
+  field_is_private: Private issue
   field_editable: Dapat disunting
   field_watcher: Pemantau
   field_identity_url: OpenID URL
@@ -336,6 +337,8 @@
   permission_manage_versions: Atur versi
   permission_manage_categories: Atur kategori masalah
   permission_add_issues: Tambahkan masalah
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Sunting masalah
   permission_manage_issue_relations: Atur kaitan masalah
   permission_add_issue_notes: Tambahkan catatan
@@ -505,6 +508,8 @@
   label_public_projects: Proyek publik
   label_open_issues: belum selesai
   label_open_issues_plural: belum selesai
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: selesai
   label_closed_issues_plural: selesai
   label_x_open_issues_abbr_on_total:
Index: config/locales/el.yml
===================================================================
--- config/locales/el.yml	(revision 4732)
+++ config/locales/el.yml	(working copy)
@@ -271,6 +271,7 @@
   field_default_value: Προκαθορισμένη τιμή
   field_comments_sorting: Προβολή σχολίων
   field_parent_title: Γονική σελίδα
+  field_is_private: Private issue
   field_editable: Επεξεργάσιμο
   field_watcher: Παρατηρητής
   field_identity_url: OpenID URL
@@ -329,6 +330,8 @@
   permission_manage_versions: Διαχείριση εκδόσεων
   permission_manage_categories: Διαχείριση κατηγοριών θεμάτων
   permission_add_issues: Προσθήκη θεμάτων
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Επεξεργασία θεμάτων
   permission_manage_issue_relations: Διαχείριση συσχετισμών θεμάτων
   permission_add_issue_notes: Προσθήκη σημειώσεων
@@ -495,6 +498,8 @@
   label_public_projects: Δημόσια έργα
   label_open_issues: Ανοικτό
   label_open_issues_plural: Ανοικτά
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: Κλειστό
   label_closed_issues_plural: Κλειστά
   label_x_open_issues_abbr_on_total:
Index: config/locales/en.yml
===================================================================
--- config/locales/en.yml	(revision 4732)
+++ config/locales/en.yml	(working copy)
@@ -286,6 +286,7 @@
   field_default_value: Default value
   field_comments_sorting: Display comments
   field_parent_title: Parent page
+  field_is_private: Private issue
   field_editable: Editable
   field_watcher: Watcher
   field_identity_url: OpenID URL
@@ -361,6 +362,8 @@
   permission_manage_categories: Manage issue categories
   permission_view_issues: View Issues
   permission_add_issues: Add issues
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Edit issues
   permission_manage_issue_relations: Manage issue relations
   permission_add_issue_notes: Add notes
@@ -536,6 +539,8 @@
   label_public_projects: Public projects
   label_open_issues: open
   label_open_issues_plural: open
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: closed
   label_closed_issues_plural: closed
   label_x_open_issues_abbr_on_total:
Index: config/locales/gl.yml
===================================================================
--- config/locales/gl.yml	(revision 4732)
+++ config/locales/gl.yml	(working copy)
@@ -279,6 +279,7 @@
   field_onthefly: Creación do usuario "ao voo"
   field_parent: Proxecto pai
   field_parent_title: Páxina pai
+  field_is_private: Private issue
   field_password: Contrasinal
   field_password_confirmation: Confirmación
   field_port: Porto
@@ -517,6 +518,8 @@
   label_not_equals: non igual
   label_open_issues: aberta
   label_open_issues_plural: abertas
+  label_private_issues: private
+  label_private_issues_plural: private
   label_optional_description: Descrición opcional
   label_options: Opcións
   label_overall_activity: Actividade global
@@ -669,6 +672,8 @@
   permission_add_issue_notes: Engadir notas
   permission_add_issue_watchers: Engadir seguidores
   permission_add_issues: Engadir peticións
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_add_messages: Enviar mensaxes
   permission_browse_repository: Ollar repositorio
   permission_comment_news: Comentar noticias
Index: config/locales/cs.yml
===================================================================
--- config/locales/cs.yml	(revision 4732)
+++ config/locales/cs.yml	(working copy)
@@ -413,6 +413,8 @@
   label_public_projects: Veřejné projekty
   label_open_issues: otevřený
   label_open_issues_plural: otevřené
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: uzavřený
   label_closed_issues_plural: uzavřené
   label_x_open_issues_abbr_on_total:
@@ -728,6 +730,7 @@
   setting_mail_handler_api_key: API klíč
   text_email_delivery_not_configured: "Doručování e-mailů není nastaveno a odesílání notifikací je zakázáno.\nNastavte Váš SMTP server v souboru config/email.yml a restartujte aplikaci."
   field_parent_title: Rodičovská stránka
+  field_is_private: Private issue
   label_issue_watchers: Sledování
   setting_commit_logs_encoding: Kódování zpráv při commitu
   button_quote: Citovat
@@ -741,6 +744,8 @@
   permission_edit_own_time_entries: Upravování vlastních zázamů o stráveném čase
   permission_manage_public_queries: Správa veřejných dotazů
   permission_add_issues: Přidávání úkolů
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Zaznamenávání stráveného času
   permission_view_changesets: Zobrazování sady změn
   permission_view_time_entries: Zobrazení stráveného času
Index: config/locales/es.yml
===================================================================
--- config/locales/es.yml	(revision 4732)
+++ config/locales/es.yml	(working copy)
@@ -302,6 +302,7 @@
   field_onthefly: Creación del usuario "al vuelo"
   field_parent: Proyecto padre
   field_parent_title: Página padre
+  field_is_private: Private issue
   field_password: Contraseña
   field_password_confirmation: Confirmación
   field_port: Puerto
@@ -540,6 +541,8 @@
   label_not_equals: no igual
   label_open_issues: abierta
   label_open_issues_plural: abiertas
+  label_private_issues: private
+  label_private_issues_plural: private
   label_optional_description: Descripción opcional
   label_options: Opciones
   label_overall_activity: Actividad global
@@ -692,6 +695,8 @@
   permission_add_issue_notes: Añadir notas
   permission_add_issue_watchers: Añadir seguidores
   permission_add_issues: Añadir peticiones
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_add_messages: Enviar mensajes
   permission_browse_repository: Hojear repositiorio
   permission_comment_news: Comentar noticias
Index: config/locales/zh-TW.yml
===================================================================
--- config/locales/zh-TW.yml	(revision 4732)
+++ config/locales/zh-TW.yml	(working copy)
@@ -373,6 +373,7 @@
   field_default_value: 預設值
   field_comments_sorting: 註解排序
   field_parent_title: 父頁面
+  field_is_private: Private issue
   field_editable: 可編輯
   field_watcher: 觀察者
   field_identity_url: OpenID 網址
@@ -451,6 +452,8 @@
   permission_manage_categories: 管理項目分類
   permission_view_issues: 檢視項目
   permission_add_issues: 新增項目
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: 編輯項目
   permission_manage_issue_relations: 管理項目關聯
   permission_add_issue_notes: 新增筆記
@@ -626,6 +629,8 @@
   label_public_projects: 公開專案
   label_open_issues: 進行中
   label_open_issues_plural: 進行中
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: 已結束
   label_closed_issues_plural: 已結束
   label_x_open_issues_abbr_on_total:
Index: config/locales/ko.yml
===================================================================
--- config/locales/ko.yml	(revision 4732)
+++ config/locales/ko.yml	(working copy)
@@ -323,6 +323,7 @@
   field_searchable: 검색가능
   field_comments_sorting: 댓글 정렬
   field_parent_title: 상위 제목
+  field_is_private: Private issue
   field_editable: 편집가능
   field_watcher: 일감지킴이
   field_identity_url: OpenID URL
@@ -381,6 +382,8 @@
   permission_manage_versions: 버전 관리
   permission_manage_categories: 일감 범주 관리
   permission_add_issues: 일감 추가
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: 일감 편집
   permission_manage_issue_relations: 일감 관계 관리
   permission_add_issue_notes: 덧글 추가
@@ -547,6 +550,8 @@
   label_public_projects: 공개 프로젝트
   label_open_issues: 진행중
   label_open_issues_plural: 진행중
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: 완료됨
   label_closed_issues_plural: 완료됨
   label_x_open_issues_abbr_on_total:
Index: config/locales/it.yml
===================================================================
--- config/locales/it.yml	(revision 4732)
+++ config/locales/it.yml	(working copy)
@@ -376,6 +376,8 @@
   label_public_projects: Progetti pubblici
   label_open_issues: aperta
   label_open_issues_plural: aperte
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: chiusa
   label_closed_issues_plural: chiuse
   label_x_open_issues_abbr_on_total:
@@ -732,6 +734,7 @@
   setting_mail_handler_api_key: Chiave API
   text_email_delivery_not_configured: "La consegna via email non è configurata e le notifiche sono disabilitate.\nConfigura il tuo server SMTP in config/email.yml e riavvia l'applicazione per abilitarle."
   field_parent_title: Pagina principale
+  field_is_private: Private issue
   label_issue_watchers: Osservatori
   setting_commit_logs_encoding: Codifica dei messaggi di commit
   button_quote: Quota
@@ -745,6 +748,8 @@
   permission_edit_own_time_entries: Modifica propri time logs
   permission_manage_public_queries: Gestisci query pubbliche
   permission_add_issues: Aggiungi segnalazioni
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Segna tempo impiegato
   permission_view_changesets: Vedi changesets
   permission_view_time_entries: Vedi tempi impiegati
Index: config/locales/sk.yml
===================================================================
--- config/locales/sk.yml	(revision 4732)
+++ config/locales/sk.yml	(working copy)
@@ -407,6 +407,8 @@
   label_public_projects: Verejné projekty
   label_open_issues: Otvorený
   label_open_issues_plural: Otvorené
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: Uzavrený
   label_closed_issues_plural: Uzavrené
   label_x_open_issues_abbr_on_total:
@@ -722,6 +724,7 @@
   setting_mail_handler_api_key: API kľúč
   text_email_delivery_not_configured: "Doručenie emailov nieje nastavené, notifikácie sú vypnuté.\nNastavte váš SMTP server v config/email.yml a reštartnite aplikáciu pre aktiváciu funkcie."
   field_parent_title: Nadradená stránka
+  field_is_private: Private issue
   label_issue_watchers: Pozorovatelia
   setting_commit_logs_encoding: Kódovanie prenášaných správ
   button_quote: Citácia
@@ -735,6 +738,8 @@
   permission_edit_own_time_entries: Úprava vlastných zaznamov o strávenom čase
   permission_manage_public_queries: Správa verejných otáziek
   permission_add_issues: Pridanie úlohy
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Zaznamenávanie stráveného času
   permission_view_changesets: Zobrazenie sád zmien
   permission_view_time_entries: Zobrazenie stráveného času
Index: config/locales/sl.yml
===================================================================
--- config/locales/sl.yml	(revision 4732)
+++ config/locales/sl.yml	(working copy)
@@ -260,6 +260,7 @@
   field_default_value: Privzeta vrednost
   field_comments_sorting: Prikaži komentarje
   field_parent_title: Matična stran
+  field_is_private: Private issue
   
   setting_app_title: Naslov aplikacije
   setting_app_subtitle: Podnaslov aplikacije
@@ -307,6 +308,8 @@
   permission_manage_versions: Uredi verzije
   permission_manage_categories: Urejanje kategorij zahtevkov
   permission_add_issues: Dodaj zahtevke
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Uredi zahtevke
   permission_manage_issue_relations: Uredi odnose med zahtevki
   permission_add_issue_notes: Dodaj zabeležke
@@ -472,6 +475,8 @@
   label_public_projects: Javni projekti
   label_open_issues: odpri zahtevek
   label_open_issues_plural: odpri zahtevke
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: zapri zahtevek
   label_closed_issues_plural: zapri zahtevke
   label_x_open_issues_abbr_on_total:
Index: config/locales/uk.yml
===================================================================
--- config/locales/uk.yml	(revision 4732)
+++ config/locales/uk.yml	(working copy)
@@ -381,6 +381,8 @@
   label_public_projects: Публічні проекти
   label_open_issues: відкрите
   label_open_issues_plural: відкриті
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: закрите
   label_closed_issues_plural: закриті
   label_x_open_issues_abbr_on_total:
@@ -724,6 +726,7 @@
   setting_mail_handler_api_key: API key
   text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
   field_parent_title: Parent page
+  field_is_private: Private issue
   label_issue_watchers: Watchers
   setting_commit_logs_encoding: Commit messages encoding
   button_quote: Quote
@@ -737,6 +740,8 @@
   permission_edit_own_time_entries: Edit own time logs
   permission_manage_public_queries: Manage public queries
   permission_add_issues: Add issues
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Log spent time
   permission_view_changesets: View changesets
   permission_view_time_entries: View spent time
Index: config/locales/sr.yml
===================================================================
--- config/locales/sr.yml	(revision 4732)
+++ config/locales/sr.yml	(working copy)
@@ -285,6 +285,7 @@
   field_default_value: Подразумевана вредност
   field_comments_sorting: Прикажи коментаре
   field_parent_title: Матична страница
+  field_is_private: Private issue
   field_editable: Изменљиво
   field_watcher: Посматрач
   field_identity_url: OpenID URL
@@ -357,6 +358,8 @@
   permission_manage_categories: Управљање категоријама проблема
   permission_view_issues: Преглед проблема
   permission_add_issues: Додавање проблема
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Измена проблема
   permission_manage_issue_relations: Управљање везама између проблема
   permission_add_issue_notes: Додавање белешки
@@ -532,6 +535,8 @@
   label_open_issues_plural: отворених
   label_closed_issues: затворен
   label_closed_issues_plural: затворених
+  label_private_issues: private
+  label_private_issues_plural: private
   label_x_open_issues_abbr_on_total:
     zero:  0 отворених / {{total}}
     one:   1 отворен / {{total}}
Index: config/locales/da.yml
===================================================================
--- config/locales/da.yml	(revision 4732)
+++ config/locales/da.yml	(working copy)
@@ -420,6 +420,8 @@
   label_public_projects: Offentlige projekter
   label_open_issues: åben
   label_open_issues_plural: åbne
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: lukket
   label_closed_issues_plural: lukkede
   label_x_open_issues_abbr_on_total:
@@ -735,6 +737,8 @@
   button_quote: Citér
   permission_view_files: Se filer
   permission_add_issues: Tilføj sager
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_own_messages: Redigér egne beskeder
   permission_delete_own_messages: Slet egne beskeder
   permission_manage_public_queries: Administrér offentlig forespørgsler
@@ -750,6 +754,7 @@
   setting_sequential_project_identifiers: Generér sekventielle projekt-identifikatorer
   setting_plain_text_mail: Emails som almindelig tekst (ingen HTML)
   field_parent_title: Siden over
+  field_is_private: Private issue
   text_email_delivery_not_configured: "Email-afsendelse er ikke indstillet og notifikationer er defor slået fra.\nKonfigurér din SMTP server i config/email.yml og genstart applikationen for at aktivere email-afsendelse."
   permission_protect_wiki_pages: Beskyt wiki sider
   permission_manage_documents: Administrér dokumenter
Index: config/locales/sv.yml
===================================================================
--- config/locales/sv.yml	(revision 4732)
+++ config/locales/sv.yml	(working copy)
@@ -333,6 +333,7 @@
   field_default_value: Standardvärde
   field_comments_sorting: Visa kommentarer
   field_parent_title: Föräldersida
+  field_is_private: Private issue
   field_editable: Redigerbar
   field_watcher: Bevakare  
   field_identity_url: OpenID URL
@@ -408,6 +409,8 @@
   permission_manage_versions: Hantera versioner
   permission_manage_categories: Hantera ärendekategorier
   permission_add_issues: Lägga till ärenden
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Ändra ärenden
   permission_view_issues: Visa ärenden
   permission_manage_issue_relations: Hantera ärenderelationer
@@ -584,6 +587,8 @@
   label_public_projects: Publika projekt
   label_open_issues: öppen
   label_open_issues_plural: öppna
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: stängd
   label_closed_issues_plural: stängda
   label_x_open_issues_abbr_on_total:
Index: config/locales/de.yml
===================================================================
--- config/locales/de.yml	(revision 4732)
+++ config/locales/de.yml	(working copy)
@@ -312,7 +312,8 @@
   field_group_by: Gruppiere Ergebnisse nach
   field_sharing: Gemeinsame Verwendung
   field_parent_issue: Übergeordnete Aufgabe
-
+  field_is_private: Private issue
+  
   setting_app_title: Applikations-Titel
   setting_app_subtitle: Applikations-Untertitel
   setting_welcome_text: Willkommenstext
@@ -377,6 +378,8 @@
   permission_manage_categories: Ticket-Kategorien verwalten
   permission_view_issues: Tickets anzeigen
   permission_add_issues: Tickets hinzufügen
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Tickets bearbeiten
   permission_manage_issue_relations: Ticket-Beziehungen verwalten
   permission_add_issue_notes: Kommentare hinzufügen
@@ -552,6 +555,8 @@
   label_public_projects: Öffentliche Projekte
   label_open_issues: offen
   label_open_issues_plural: offen
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: geschlossen
   label_closed_issues_plural: geschlossen
   label_x_open_issues_abbr_on_total:
Index: config/locales/bg.yml
===================================================================
--- config/locales/bg.yml	(revision 4732)
+++ config/locales/bg.yml	(working copy)
@@ -365,6 +365,8 @@
   label_public_projects: Публични проекти
   label_open_issues: отворена
   label_open_issues_plural: отворени
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: затворена
   label_closed_issues_plural: затворени
   label_x_open_issues_abbr_on_total:
@@ -721,6 +723,7 @@
   setting_mail_handler_api_key: API ключ
   text_email_delivery_not_configured: "Изпращането на e-mail-и не е конфигурирано и известията не са разрешени.\nКонфигурирайте вашия SMTP сървър в config/email.yml и рестартирайте Redmine, за да ги разрешите."
   field_parent_title: Родителска страница
+  field_is_private: Private issue
   label_issue_watchers: Наблюдатели
   setting_commit_logs_encoding: Кодова таблица на съобщенията при поверяване
   button_quote: Цитат
@@ -734,6 +737,8 @@
   permission_edit_own_time_entries: Редактиране на собствените time logs
   permission_manage_public_queries: Управление на публичните заявки
   permission_add_issues: Добавяне на задачи
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Log spent time
   permission_view_changesets: Разглеждане на changesets
   permission_view_time_entries: Разглеждане на изразходваното време
@@ -919,4 +924,4 @@
   label_principal_search: "Търсене на потребител или група:"
   label_user_search: "Търсене на потребител:"
   field_visible: Видим
-  setting_emails_header: Emails header
+  setting_emails_header: Emails header
\ No newline at end of file
Index: config/locales/ja.yml
===================================================================
--- config/locales/ja.yml	(revision 4732)
+++ config/locales/ja.yml	(working copy)
@@ -313,6 +313,7 @@
   field_default_value: デフォルト値
   field_comments_sorting: コメントを表示
   field_parent_title: 親ページ
+  field_is_private: Private issue
   field_editable: 編集可能
   field_watcher: ウォッチャー
   field_identity_url: OpenID URL
@@ -390,6 +391,8 @@
   permission_manage_categories: チケットのカテゴリの管理
   permission_view_issues: チケットの閲覧
   permission_add_issues: チケットの追加
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: チケットの編集
   permission_manage_issue_relations: チケットの管理
   permission_add_issue_notes: 注記の追加
@@ -567,6 +570,8 @@
   label_public_projects: 公開プロジェクト
   label_open_issues: 未完了
   label_open_issues_plural: 未完了
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: 完了
   label_closed_issues_plural: 完了
   label_x_open_issues_abbr_on_total:
Index: config/locales/he.yml
===================================================================
--- config/locales/he.yml	(revision 4732)
+++ config/locales/he.yml	(working copy)
@@ -291,6 +291,7 @@
   field_default_value: ערך ברירת מחדל
   field_comments_sorting: הצג הערות
   field_parent_title: דף אב
+  field_is_private: Private issue
   field_editable: ניתן לעריכה
   field_watcher: צופה
   field_identity_url: כתובת OpenID
@@ -367,6 +368,8 @@
   permission_manage_categories: ניהול קטגוריות נושאים
   permission_view_issues: צפיה בנושאים
   permission_add_issues: הוספת נושא
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: עריכת נושאים
   permission_manage_issue_relations: ניהול קשרים בין נושאים
   permission_add_issue_notes: הוספת הערות לנושאים
@@ -542,6 +545,8 @@
   label_public_projects: פרויקטים פומביים
   label_open_issues: פתוח
   label_open_issues_plural: פתוחים
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: סגור
   label_closed_issues_plural: סגורים
   label_x_open_issues_abbr_on_total:
Index: config/locales/fi.yml
===================================================================
--- config/locales/fi.yml	(revision 4732)
+++ config/locales/fi.yml	(working copy)
@@ -418,6 +418,8 @@
   label_public_projects: Julkiset projektit
   label_open_issues: avoin, yhteensä
   label_open_issues_plural: avointa, yhteensä
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: suljettu
   label_closed_issues_plural: suljettua
   label_x_open_issues_abbr_on_total:
@@ -753,6 +755,7 @@
   setting_mail_handler_api_key: API avain
   text_email_delivery_not_configured: "Sähköpostin jakelu ei ole määritelty ja sähköpostimuistutukset eivät ole käytössä.\nKonfiguroi sähköpostipalvelinasetukset (SMTP) config/email.yml tiedostosta ja uudelleenkäynnistä sovellus jotta asetukset astuvat voimaan."
   field_parent_title: Aloitussivu
+  field_is_private: Private issue
   label_issue_watchers: Tapahtuman seuraajat
   button_quote: Vastaa
   setting_sequential_project_identifiers: Luo peräkkäiset projektien tunnisteet
@@ -766,6 +769,8 @@
   permission_edit_own_time_entries: Muokka omia aikamerkintöjä
   permission_manage_public_queries: Hallinnoi julkisia hakuja
   permission_add_issues: Lisää tapahtumia
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Lokita käytettyä aikaa
   permission_view_changesets: Näytä muutosryhmät
   permission_view_time_entries: Näytä käytetty aika
Index: config/locales/bs.yml
===================================================================
--- config/locales/bs.yml	(revision 4732)
+++ config/locales/bs.yml	(working copy)
@@ -276,6 +276,7 @@
   field_default_value: Podrazumjevana vrijednost
   field_comments_sorting: Prikaži komentare
   field_parent_title: 'Stranica "roditelj"'
+  field_is_private: Private issue
   field_editable: Može se mijenjati
   field_watcher: Posmatrač
   field_identity_url: OpenID URL
@@ -331,6 +332,8 @@
   permission_manage_versions: Upravljanje verzijama
   permission_manage_categories: Upravljanje kategorijama aktivnosti
   permission_add_issues: Dodaj aktivnosti
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Ispravka aktivnosti
   permission_manage_issue_relations: Upravljaj relacijama među aktivnostima
   permission_add_issue_notes: Dodaj bilješke
@@ -498,6 +501,8 @@
   label_public_projects: Javni projekti
   label_open_issues: otvoren
   label_open_issues_plural: otvoreni
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: zatvoren
   label_closed_issues_plural: zatvoreni
   label_x_open_issues_abbr_on_total:
Index: config/locales/fr.yml
===================================================================
--- config/locales/fr.yml	(revision 4732)
+++ config/locales/fr.yml	(working copy)
@@ -295,6 +295,7 @@
   field_default_value: Valeur par défaut
   field_comments_sorting: Afficher les commentaires
   field_parent_title: Page parent
+  field_is_private: Private issue
   field_editable: Modifiable
   field_watcher: Observateur
   field_identity_url: URL OpenID
@@ -367,6 +368,8 @@
   permission_manage_categories: Gérer les catégories de demandes
   permission_view_issues: Voir les demandes
   permission_add_issues: Créer des demandes
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Modifier les demandes
   permission_manage_issue_relations: Gérer les relations
   permission_add_issue_notes: Ajouter des notes
@@ -542,6 +545,8 @@
   label_public_projects: Projets publics
   label_open_issues: ouvert
   label_open_issues_plural: ouverts
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: fermé
   label_closed_issues_plural: fermés
   label_x_open_issues_abbr_on_total:
Index: config/locales/nl.yml
===================================================================
--- config/locales/nl.yml	(revision 4732)
+++ config/locales/nl.yml	(working copy)
@@ -245,6 +245,7 @@
   field_onthefly: On-the-fly aanmaken van een gebruiker
   field_parent: Subproject van
   field_parent_title: Bovenliggende pagina
+  field_is_private: Private issue
   field_password: Wachtwoord
   field_password_confirmation: Bevestigen
   field_port: Port
@@ -483,6 +484,8 @@
   label_not_equals: is niet gelijk
   label_open_issues: open
   label_open_issues_plural: open
+  label_private_issues: private
+  label_private_issues_plural: private
   label_optional_description: Optionele beschrijving
   label_options: Opties
   label_overall_activity: Activiteit
@@ -635,6 +638,8 @@
   permission_add_issue_notes: Voeg notities toe
   permission_add_issue_watchers: Voeg monitors toe
   permission_add_issues: Voeg issues toe
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_add_messages: Voeg berichten toe
   permission_browse_repository: Repository doorbladeren
   permission_comment_news: Nieuws commentaar geven
Index: config/locales/hr.yml
===================================================================
--- config/locales/hr.yml	(revision 4732)
+++ config/locales/hr.yml	(working copy)
@@ -277,6 +277,7 @@
   field_default_value: Zadana vrijednost
   field_comments_sorting: Prikaz komentara
   field_parent_title: Parent page
+  field_is_private: Private issue
   field_editable: Editable
   field_watcher: Watcher
   field_identity_url: OpenID URL
@@ -345,6 +346,8 @@
   permission_manage_categories: Upravljaj kategorijama predmeta
   permission_view_issues: Pregledaj zahtjeve
   permission_add_issues: Dodaj predmete 
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Uredi predmete
   permission_manage_issue_relations: Upravljaj relacijama predmeta
   permission_add_issue_notes: Dodaj bilješke 
@@ -515,6 +518,8 @@
   label_public_projects: Javni projekti
   label_open_issues: Otvoren
   label_open_issues_plural: Otvoreno
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: Zatvoren
   label_closed_issues_plural: Zatvoreno
   label_x_open_issues_abbr_on_total:
Index: config/locales/pl.yml
===================================================================
--- config/locales/pl.yml	(revision 4732)
+++ config/locales/pl.yml	(working copy)
@@ -266,6 +266,7 @@
   field_onthefly: Tworzenie użytkownika w locie
   field_parent: Nadprojekt
   field_parent_title: Strona rodzica
+  field_is_private: Private issue
   field_password: Hasło
   field_password_confirmation: Potwierdzenie
   field_port: Port
@@ -516,6 +517,8 @@
   label_not_equals: różni się
   label_open_issues: otwarte
   label_open_issues_plural234: otwarte
+  label_private_issues: private
+  label_private_issues_plural: private
   label_open_issues_plural5: otwarte
   label_open_issues_plural: otwarte
   label_optional_description: Opcjonalny opis
@@ -670,6 +673,8 @@
   permission_add_issue_notes: Dodawanie notatek
   permission_add_issue_watchers: Dodawanie obserwatorów
   permission_add_issues: Dodawanie zagadnień
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_add_messages: Dodawanie wiadomości
   permission_browse_repository: Przeglądanie repozytorium
   permission_comment_news: Komentowanie komunikatów
Index: config/locales/th.yml
===================================================================
--- config/locales/th.yml	(revision 4732)
+++ config/locales/th.yml	(working copy)
@@ -411,6 +411,8 @@
   label_public_projects: โครงการสาธารณะ
   label_open_issues: เปิด
   label_open_issues_plural: เปิด
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: ปิด
   label_closed_issues_plural: ปิด
   label_x_open_issues_abbr_on_total:
@@ -725,6 +727,7 @@
   setting_mail_handler_api_key: API key
   text_email_delivery_not_configured: "Email delivery is not configured, and notifications are disabled.\nConfigure your SMTP server in config/email.yml and restart the application to enable them."
   field_parent_title: Parent page
+  field_is_private: Private issue
   label_issue_watchers: Watchers
   setting_commit_logs_encoding: Commit messages encoding
   button_quote: Quote
@@ -738,6 +741,8 @@
   permission_edit_own_time_entries: Edit own time logs
   permission_manage_public_queries: Manage public queries
   permission_add_issues: Add issues
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Log spent time
   permission_view_changesets: View changesets
   permission_view_time_entries: View spent time
Index: config/locales/no.yml
===================================================================
--- config/locales/no.yml	(revision 4732)
+++ config/locales/no.yml	(working copy)
@@ -409,6 +409,8 @@
   label_public_projects: Offentlige prosjekt
   label_open_issues: åpen
   label_open_issues_plural: åpne
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: lukket
   label_closed_issues_plural: lukkede
   label_x_open_issues_abbr_on_total:
@@ -719,6 +721,7 @@
   setting_mail_handler_api_key: API-nøkkel
   text_email_delivery_not_configured: "Levering av e-post er ikke satt opp, og varsler er skrudd av.\nStill inn din SMTP-tjener i config/email.yml og start programmet på nytt for å skru det på."
   field_parent_title: Foreldreside
+  field_is_private: Private issue
   label_issue_watchers: Overvåkere
   setting_commit_logs_encoding: Tegnkoding for innsendingsmeldinger
   button_quote: Sitat
@@ -732,6 +735,8 @@
   permission_edit_own_time_entries: Redigere egne timelister
   permission_manage_public_queries: Behandle delte søk
   permission_add_issues: Legge inn saker
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Loggføre timer
   permission_view_changesets: Vise endringssett
   permission_view_time_entries: Vise brukte timer
Index: config/locales/hu.yml
===================================================================
--- config/locales/hu.yml	(revision 4732)
+++ config/locales/hu.yml	(working copy)
@@ -438,6 +438,8 @@
   label_public_projects: Nyilvános projektek
   label_open_issues: nyitott
   label_open_issues_plural: nyitott
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: lezárt
   label_closed_issues_plural: lezárt
   label_x_open_issues_abbr_on_total:
@@ -751,6 +753,7 @@
   setting_mail_handler_api_key: API kulcs
   text_email_delivery_not_configured: "Az E-mail küldés nincs konfigurálva, és az értesítések ki vannak kapcsolva.\nÁllítsd be az SMTP szervert a config/email.yml fájlban és indítsd újra az alkalmazást, hogy érvénybe lépjen."
   field_parent_title: Szülő oldal
+  field_is_private: Private issue
   label_issue_watchers: Megfigyelők
   setting_commit_logs_encoding: Commit üzenetek kódlapja
   button_quote: Hozzászólás / Idézet
@@ -764,6 +767,8 @@
   permission_edit_own_time_entries: Saját időnapló szerkesztése
   permission_manage_public_queries: Nyilvános kérések kezelése
   permission_add_issues: Feladat felvétele
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_log_time: Idő rögzítése
   permission_view_changesets: Változáskötegek megtekintése
   permission_view_time_entries: Időrögzítések megtekintése
Index: config/locales/vi.yml
===================================================================
--- config/locales/vi.yml	(revision 4732)
+++ config/locales/vi.yml	(working copy)
@@ -318,6 +318,7 @@
   field_default_value: Giá trị mặc định
   field_comments_sorting: Liệt kê bình luận
   field_parent_title: Trang mẹ
+  field_is_private: Private issue
   
   setting_app_title: Tựa đề ứng dụng
   setting_app_subtitle: Tựa đề nhỏ của ứng dụng
@@ -477,6 +478,8 @@
   label_public_projects: Các dự án công cộng
   label_open_issues: mở
   label_open_issues_plural: mở
+  label_private_issues: private
+  label_private_issues_plural: private
   label_closed_issues: đóng
   label_closed_issues_plural: đóng
   label_x_open_issues_abbr_on_total:
@@ -797,6 +800,8 @@
   permission_manage_versions: Quản lý phiên bản
   permission_manage_categories: Quản lý chủ đề
   permission_add_issues: Thêm vấn đề
+  permission_add_private_issues: Add private issues
+  permission_view_private_issues: View private issues
   permission_edit_issues: Sửa vấn đề
   permission_manage_issue_relations: Quản lý quan hệ vấn đề
   permission_add_issue_notes: Thêm chú thích
Index: lib/redmine.rb
===================================================================
--- lib/redmine.rb	(revision 4732)
+++ lib/redmine.rb	(working copy)
@@ -65,6 +65,8 @@
                                   :queries => :index,
                                   :reports => [:issue_report, :issue_report_details]}
     map.permission :add_issues, {:issues => [:new, :create, :update_form]}
+    map.permission :add_private_issues, {:issues => [:new, :update_form]}, :require => :loggedin
+    map.permission :view_private_issues, {}, :require => :member
     map.permission :edit_issues, {:issues => [:edit, :update, :bulk_edit, :bulk_update, :update_form], :journals => [:new]}
     map.permission :manage_issue_relations, {:issue_relations => [:new, :destroy]}
     map.permission :manage_subtasks, {}
