Page 2 of 2

Re: Remove admin user from project

Posted: 20 Jan 2010, 15:14
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
.....

Re: Remove admin user from project

Posted: 20 Jan 2010, 15:24
by strija
Thanks alot, I will try everything tomorrow since my working day is done for today ;)

Re: Remove admin user from project

Posted: 16 Sep 2010, 12:07
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:

Re: Remove admin user from project

Posted: 16 Sep 2010, 12:40
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

Re: Remove admin user from project

Posted: 16 Sep 2010, 12:48
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.

Re: Remove admin user from project

Posted: 16 Sep 2010, 13:02
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.

Re: Remove admin user from project

Posted: 17 Sep 2010, 09:01
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