]> source.dussan.org Git - redmine.git/commit
Queries can be marked as 'For all projects'. Such queries will be available on all...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Mar 2008 12:29:07 +0000 (12:29 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 30 Mar 2008 12:29:07 +0000 (12:29 +0000)
commit287d86e3632546b06aeb955db8b0e5eea139082b
tree38d14393e22d0a577e0bed0f733c17c092c49e1b
parentfaf1f1e812b385dcf88591eac6fc898f86947c75
Queries can be marked as 'For all projects'. Such queries will be available on all projects and on the global issue list (#897, closes #671).
Only admin users can create/edit queries that are public and for all projects.
Note: this change does not allow to save a query from the global issue list. You have to be inside a project but then you can mark the query as 'For all projects'.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1311 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/issues_controller.rb
app/controllers/queries_controller.rb
app/helpers/issues_helper.rb
app/models/query.rb
app/views/issues/_sidebar.rhtml
app/views/issues/index.rhtml
app/views/queries/_form.rhtml
test/fixtures/queries.yml
test/fixtures/roles.yml
test/functional/queries_controller_test.rb [new file with mode: 0644]
test/unit/query_test.rb