Actions
Defect #37499
closedDefault query should not be applied if the query is not allowed to be set as the default
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
There are conditions on the queries that can be set as the default query. For example, the query you want to set as the global default or project default must be a public query.
However, you can set a non-public query as the default query with the following steps.
1. Create a public issue query
2. Set the query as the project default
3. Change the visibility of the query from "to any users" to "to me only"
4. Login with another user and open the "Issues" tab of the project. The user will get an error "403 You are not authorized to access this page"
To avoid the error, Redmine should not try to apply the default query when a query that is not allowed to be set as the default is the current default query.
Files
Related issues
Actions