mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 10:25:55 +01:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -495,7 +495,7 @@ class QueriesControllerTest < Redmine::ControllerTest | ||||
|   end | ||||
|  | ||||
|   def test_create_public_project_query | ||||
|     @request.session[:user_id] = 2 | ||||
|     @request.session[:user_id] = 1 | ||||
|  | ||||
|     q = new_record(ProjectQuery) do | ||||
|       post :create, :params => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user