only assigned user should work on issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
tom200
Posts: 5
Joined: 04 Jul 2017, 14:59

only assigned user should work on issue

Post by tom200 »

Hi,

I'd like to setup Mantis in a way that only the assigned person of an issue can change the status or re-assign it, independent on the access level of the user.
Tried to working with public/private marking but it doesn't lead to an aim.

Any ideas? Thanks
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: only assigned user should work on issue

Post by atrol »

There is no way to get the desired behavior by using the configuration options of Mantis.
Access to a functionality in Mantis is most of the time restricted by access levels, there are just a few additional access checks for reporters, but none for handlers.

Code: Select all

/**
 * reporter can close. Allow reporters to close the bugs they reported, after
 * they are marked resolved.
 * @global integer $g_allow_reporter_close
 */
$g_allow_reporter_close	 = OFF;

/**
 * reporter can reopen. Allow reporters to reopen the bugs they reported, after
 * they are marked resolved.
 * @global integer $g_allow_reporter_reopen
 */
$g_allow_reporter_reopen = ON;

/**
 * reporter can upload
 * Allow reporters to upload attachments to bugs they reported.
 * @global integer $g_allow_reporter_upload
 */
$g_allow_reporter_upload = ON;
You would have to write a plugin or change source of Mantis to get what you want.
Of course, you would have to consider the situation that the assigned user is not available (vacation, left the company, ...) where another user must be able to change the assignment.
Please use Search before posting and read the Manual
tom200
Posts: 5
Joined: 04 Jul 2017, 14:59

Re: only assigned user should work on issue

Post by tom200 »

Ok thank you, I feared this answer!
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: only assigned user should work on issue

Post by atrol »

tom200 wrote:Ok thank you, I feared this answer!
I feared you will write this.
It seems this is a quite special use case. I am not aware that any other user asked for this before.
I think at the moment that restricting status changes and assigning to the assigned user makes not that much sense. Can you explain a bit more your use case?
Please use Search before posting and read the Manual
volpis
Posts: 1
Joined: 09 May 2018, 13:04

Re: only assigned user should work on issue

Post by volpis »

Hello,
I'm new to this forum and so I greet everyone.
I have the same problem: Mantis installation in our company collects incident and request from users about the ICT infrastructure.
Some request (eg: activation of a permission to access to some system resource) needs to be "authorized" by another person (eg. the boss of reporter).
To do so, I've defined a new role: the "approver". We have about 20 approver in the organization.
The manager who takes the issue, assigns it to a specific and competent approver who can only modify a custom field as "approved" / "disapproved".
The problem is that each approver can approve any request, not only the approver to whom the issue has been assigned to.
Post Reply