Project

General

Profile

Actions

Patch #37608

closed

Check visibility for passed user in IssueQuery.default

Added by Holger Just over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

In IssueQuery.default, you can optionally pass a user to get the default query for. We should actually use this user to check the visibility of the user's default query, rather than the implicit User.current.

Note that this is not a user-observable issue in Redmine right now, since we never pass an explicit user to IssueQuery.default which is thus always User.current. If we were to pass a different user here, the check might be incorrect though.

The attached patch fixes this.


Files


Related issues

Related to Redmine - Defect #37499: Default query should not be applied if the query is not allowed to be set as the defaultClosedGo MAEDA

Actions
Actions #1

Updated by Holger Just over 1 year ago

  • Related to Defect #37499: Default query should not be applied if the query is not allowed to be set as the default added
Actions #2

Updated by Go MAEDA over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the fix as a part of #37499. Thank you.

Actions

Also available in: Atom PDF