Users can't "Close" an issue in version 2.24.3

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
mnemonicator
Posts: 16
Joined: 28 May 2018, 13:56

Users can't "Close" an issue in version 2.24.3

Post by mnemonicator »

Hello, after upgrade from 2.12 to 2.24.3 users who have "Developer" role let me know that they can't "Close" an Issue from status "Resolved".

I able to reproduce this error.

In a workflow transition settings all options are checked, access level to statuses "Resolved" and "Closed" set to Developer.

Is this bug or?

thank you.
mnemonicator
Posts: 16
Joined: 28 May 2018, 13:56

Re: Users can't "Close" an issue in version 2.24.3

Post by mnemonicator »

Colleagues, any ideas?

Is it possible that custom role affect system behavior?

thx.
cas
Posts: 988
Joined: 11 Mar 2006, 16:08
Contact:

Re: Users can't "Close" an issue in version 2.24.3

Post by cas »

Perhaps a workflow has been activated on project level?
mnemonicator
Posts: 16
Joined: 28 May 2018, 13:56

Re: Users can't "Close" an issue in version 2.24.3

Post by mnemonicator »

No, see attached screenshots.
2020_11_16_11_05_54.png
2020_11_16_11_05_54.png (59.82 KiB) Viewed 588 times
2020-11-16 11_08_22-Workflow Transitions.png
2020-11-16 11_08_22-Workflow Transitions.png (50.29 KiB) Viewed 588 times
atrol
Site Admin
Posts: 7881
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Users can't "Close" an issue in version 2.24.3

Post by atrol »

Your screenshot shows settings for "All Projects"
The question was, if you changed on project level.
For that, select the affected project in the project selection on the right top of the page.
Please use Search before posting and read the Manual
mnemonicator
Posts: 16
Joined: 28 May 2018, 13:56

Re: Users can't "Close" an issue in version 2.24.3

Post by mnemonicator »

I understand question correctly, nothing is changed on project level. Just decided to show what we have on all projects level.
cas
Posts: 988
Joined: 11 Mar 2006, 16:08
Contact:

Re: Users can't "Close" an issue in version 2.24.3

Post by cas »

If you believe it is a bug , please report accordingly.
Then you better add an overview of the workflow settings both global and for the specific project where it is happening so the dev's can have a clear view of the situation.
mnemonicator
Posts: 16
Joined: 28 May 2018, 13:56

Re: Users can't "Close" an issue in version 2.24.3

Post by mnemonicator »

Got a solution from bug report

This is driven by the bug's read-only status, as defined by $g_bug_readonly_status_threshold (defaults to RESOLVED).

$g_update_readonly_bug_threshold then defines who is allowed to update read-only bugs (defaults to MANAGER)

So, with default settings (which seems to be what you have, based on the screenshots you uploaded), DEVELOPER is not allowed to update Readonly issues, and therefore can't close them.

as a result, variable $g_bug_readonly_status_threshold set to CLOSED;
Post Reply