Actions
Patch #37608
closedCheck visibility for passed user in IssueQuery.default
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
Updated by Holger Just over 2 years ago
- Related to Defect #37499: Default query should not be applied if the query is not allowed to be set as the default added
Updated by Go MAEDA over 2 years ago
- Status changed from New to Closed
- Assignee set to Go MAEDA
Committed the fix as a part of #37499. Thank you.
Actions