Forbid issue assignment to admins

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
IngoKnieto
Posts: 4
Joined: 15 Mar 2022, 16:15

Forbid issue assignment to admins

Post by IngoKnieto »

Hello forum,

is it possible to forbid issue assignment to admins (in certain projects)?

I set up our internal Mantis and need admin rights to create users etc. We also have a bunch of developers with developer rights. Unfortunately people keep assigning me their issues instead assigning them to the responsible developers.
Can I somehow lock myself and my other admin colleagues out of certain projects? I didn't find any related setting, if I see it correct the admins are available everywhere...
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Forbid issue assignment to admins

Post by atrol »

Select the project you want to configure in the project selection dropdown
Goto Page "Manage" > "Manage Configuration" > "Workflow Thresholds"
Disable checkbox in row "Handle an issue", column "Administrator"
Click "Update Configuration"
Please use Search before posting and read the Manual
IngoKnieto
Posts: 4
Joined: 15 Mar 2022, 16:15

Re: Forbid issue assignment to admins

Post by IngoKnieto »

That was exactly what I was looking for, thank you.

Is it maybe also possible to configure this on a user level, or is this only possible on the access role level?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Forbid issue assignment to admins

Post by atrol »

Based on user level is not possible by configuration.

IMO it would not make that much sense.
You might want to create an additional access level for that (or use an existing one), remove the right to "Handle an issue" from that access level and give these specific user(s) the new access level.
Please use Search before posting and read the Manual
IngoKnieto
Posts: 4
Joined: 15 Mar 2022, 16:15

Re: Forbid issue assignment to admins

Post by IngoKnieto »

Yes, I think I need to create a custom access level.
I appreciate your help, thank you. One last question - I promise :)

I am experimenting with a custom access level higher than administrator. But I don't think that's possible, right?

In this example testrole1 works fine, but testrole2 is only available in the projects and can't be assigned to users:
$g_access_levels_enum_string = '10:viewer,25:reporter,40:updater,55:developer,70:manager,85:testrole1,90:administrator,95:testrole2';
Ideally I would like to have a custom access level with full administrator rights.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Forbid issue assignment to admins

Post by atrol »

Access level higher than administrator should be possible.
But be aware that you can't assign an access level that is higher than your own one.
Please use Search before posting and read the Manual
Post Reply