mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
"me" value is now available in queries for "assigned to" and "author" filters.
When executing the query, it is replaced by the currently logged in user. git-svn-id: http://redmine.rubyforge.org/svn/trunk@520 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -42,6 +42,7 @@ class QueriesController < ApplicationController
|
||||
private
|
||||
def find_query
|
||||
@query = Query.find(params[:id])
|
||||
@query.executed_by = logged_in_user
|
||||
@project = @query.project
|
||||
# check if user is allowed to manage queries (same permission as add_query)
|
||||
authorize('projects', 'add_query')
|
||||
|
Reference in New Issue
Block a user