View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023339||mantisbt||documentation||public||2017-09-11 07:14||2017-12-07 12:10|
|Target Version||Fixed in Version|
|Summary||0023339: User real name can't be fetched as Manager (or lower than Admin in general)|
I have an account that accesses my Mantis via the API for fetching data of several issues of some projects. Recently I lowered the permission
However this account cannot fetch the realname of users anymore via the API, only the username and ID. I could not find any hint in the documentation or in the Web UI (also not in the adm_permissions_report.php) that this is the case when I reduce the permission to Manager, so I wasn't aware of this.
Neither of this Configuration Options changed that (note that 1 stands for ON, meaning it a boolean value and 70 is the ID of the manager role):
All Users All Projects show_realname integer 1 (note: this I have from here https://www.mantisbt.org/forums/viewtopic.php?f=2&t=6153
|Steps To Reproduce|
I tried out by myself with this Java code snippet
IssueData issue_to_replace_the_reporter = mantisconnection.getIssue(random_mantis_bug_id); // mantisconnection is the connection object on which I invoke mc_issue_get
IssueNoteData notes_of_issue = issue_to_replace_the_reporter.getNotes();
|Tags||No tags attached.|
Adding the following line to config_inc.php (or using the configuration page) should fix the issue
Thank you very much atrol!
Can you give me the link to the documentation in which this option is listed?
The option is not documented at the moment.
You should use the documentation for 2.x if you are using 2.x.
|2017-09-11 07:14||covfefe||New Issue|
|2017-09-11 09:00||atrol||Status||new => feedback|
|2017-09-11 09:00||atrol||Note Added: 0057676|
|2017-09-11 10:56||covfefe||Note Added: 0057682|
|2017-09-11 10:56||covfefe||Status||feedback => new|
|2017-09-12 16:12||atrol||Note Added: 0057703|
|2017-09-12 16:13||atrol||Severity||major => minor|
|2017-09-12 16:13||atrol||Status||new => confirmed|
|2017-09-12 16:13||atrol||Category||api soap => documentation|
|2017-09-12 16:14||atrol||Relationship added||related to 0011399|