Remove admin user from project

Post about your customizations to share with others.

Moderators: Developer, Contributor

atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Remove admin user from project

Post by atrol »

strija wrote:What do you mean with "If you are able to modify the core"?
Sorry for my English, seems not to be clear
I mean, if you have the needed skills to modify the core (PHP, database, ...)
strija wrote: Are you saying that the default installation of mantis does not send notifications for all projects to all admins?
Yes, I wrote
atrol wrote: In a fresh installation the administrator will not get any mail of issues where he is not involved in any way.
(which means, he did not report the issue, he was never assigned to the issue, he is not monitoring the issue, )
My further steps would be:

1. setup a fresh installation with a comparable user/project/category configuration
2. check whether there are any mails sent to admins when another user submits an isssue
if yes, tell user atrol that he is writing nonsens, if no, go on with step 3
3. compare your installations
a) file by file and
b) the database tables, especially the mantis_user_pref_table and the mantis_config_table
4. nothing special found?
enable query_list, watch the database actions
insert some debug outputs in PHP-code
.....
Please use Search before posting and read the Manual
strija
Posts: 10
Joined: 19 Jan 2010, 10:19

Re: Remove admin user from project

Post by strija »

Thanks alot, I will try everything tomorrow since my working day is done for today ;)
jozef
Posts: 4
Joined: 16 Sep 2010, 11:52

Re: Remove admin user from project

Post by jozef »

atrol wrote:You can not remove a global administrator from a project, but you can remove a user whose global role is not administrator, but who is administrator for a special project...
I do not understand why is user global administrator available in drop-down "Assign to" on page "Report issue" (bug_report_page.php) ?
I know how to patch the core, but i am asking what is the purpose of assigning an issue to global administrator?
We use the global administrator account for creating new users and projects, that is all. IMO, the global administrator has nothing to do with particular project issue. :evil:
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Remove admin user from project

Post by atrol »

jozef wrote: We use the global administrator account for creating new users and projects, that is all.
That's also the way I use it.
Projects with small teams (especially the one man shows) might not want do use it in that way.
So there is a need to configure the behaviour.
There is a known feature request for this
http://www.mantisbt.org/bugs/view.php?id=12306
Please use Search before posting and read the Manual
jozef
Posts: 4
Joined: 16 Sep 2010, 11:52

Re: Remove admin user from project

Post by jozef »

Thanks for information. I hope there will be soon an option in config file to hide global administrator on pages like bug_report_page.
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Remove admin user from project

Post by atrol »

Maybe it would be even better to have an option to exclude individual users from the list (with different settings in different projects)
But this might be to complicated.
Please use Search before posting and read the Manual
atrol
Site Admin
Posts: 8578
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Remove admin user from project

Post by atrol »

jozef, it is possible to remove the administrator from the list!

Use "Manage" -> "Manage Configuration" -> "Workflow Thresholds"
In row "Handle an issue" column "Administrator" disable the checkbox

And this setting is based on the current selected project!
So you can have all you want: Administrators who are just administrators for a certain project and/or administrators who are also working as developers/managers and can be assigned to an issue
Please use Search before posting and read the Manual
Post Reply