diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-28 10:55:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-28 10:55:59 +0000 |
commit | bb4acc02d06d507424057ea41eebe54fdb224b85 (patch) | |
tree | 51601cb26b1e8f0122c7529a203485cbb2bed882 /lib/redmine.rb | |
parent | d9e6359a839d7097283c237e4982e8ef5df2849e (diff) | |
download | redmine-bb4acc02d06d507424057ea41eebe54fdb224b85.tar.gz redmine-bb4acc02d06d507424057ea41eebe54fdb224b85.zip |
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue.
The context menu shows up when right-clicking an issue (Opera users have to use Ctrl + left-click instead since right-click can't be reassigned for this browser).
Works with Firefox 2, IE 7 (not perfect), Opera 9 and Safari 2. IE 6 doesn't display submenus.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@872 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine.rb')
-rw-r--r-- | lib/redmine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine.rb b/lib/redmine.rb index ceb531551..bf6d63059 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -26,7 +26,7 @@ Redmine::AccessControl.map do |map| map.permission :manage_categories, {:projects => [:settings, :add_issue_category], :issue_categories => [:edit, :destroy]}, :require => :member # Issues map.permission :view_issues, {:projects => [:list_issues, :export_issues_csv, :export_issues_pdf, :changelog, :roadmap], - :issues => :show, + :issues => [:show, :context_menu], :queries => :index, :reports => :issue_report}, :public => true map.permission :add_issues, {:projects => :add_issue}, :require => :loggedin |