]> source.dussan.org Git - redmine.git/commit
Only admin users should be able to manage public queries on the project list (#29482).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 20 Nov 2019 15:01:24 +0000 (15:01 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 20 Nov 2019 15:01:24 +0000 (15:01 +0000)
commit977bbea725d0d6909d081390b3147e18340b532c
tree1bdc06a6585c4fb60ea0864d35bb4f310b24ae3f
parent18e6cc9cb6c655c5ef32b07fa7cf764d7821b94f
Only admin users should be able to manage public queries on the project list (#29482).

Like for issues, project members with the "Manage public" queries are allowed to manage public queries inside their projects, not public global queries that are proposed on /issues.

git-svn-id: http://svn.redmine.org/redmine/trunk@19091 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/queries_controller.rb
app/views/queries/_form.html.erb
test/functional/queries_controller_test.rb