Question about Real Names

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
golemb
Posts: 3
Joined: 01 Jan 2025, 18:25

Question about Real Names

Post by golemb »

I want set my bugtracker a way what users in status Viewer and Reporters doesn't see real names of other users, but users with status Developer and above could see. But I don't know how to do that.

Here is the settings that ChatGPT advised to me:
$g_show_realname = ON;
$g_show_user_realname_threshold = DEVELOPER;

But these settings doesn't work in my case. I use Mantus 2.27
atrol
Site Admin
Posts: 8531
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Question about Real Names

Post by atrol »

golemb wrote: 01 Jan 2025, 18:34 But these settings doesn't work in my case. I use Mantus 2.27
Any more details what doesn't work?

Maybe you expect something that isn't available
From Admin Guide https://mantisbt.org/docs/master/en-US/ ... ig.display

$g_show_user_realname_threshold
This specifies the access level that is needed to see realnames on user view page. The default value is NOBODY, hence, even administrators won't have this feature enabled.

Code: Select all

$g_show_realname = ON;
allows all users to see the real names
Please use Search before posting and read the Manual
golemb
Posts: 3
Joined: 01 Jan 2025, 18:25

Re: Question about Real Names

Post by golemb »

Thank you for the reply,

I want to provide access to the project to the cusotomer. It will be viewer user. I want this type of user (viewer, reporter) won't see real names of my team members. But at the same time user of types: developer, manager, administrator could see Real Names.

Here is what I wrote in config file:/config/config_inc.php

$g_show_realname = ON;
$g_show_user_realname_threshold = DEVELOPER;

In my situation second parameter ($g_show_user_realname_threshold) doesn't work at all. Only the first one is working, but first parameter shows/hides real names to all types of users. It looks as a bug, but I'm not very profissient with Mantis, possibly I didn't know something.

Here are details about my sustem:
MantisBT Version 2.27.0
Database Schema Version 213
PHP Version 8.3.14
OS Information Linux hosting-1.default-host.net 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
Database Driver mysqli
Database Version, Description 8.0.37, 8.0.37-29
atrol
Site Admin
Posts: 8531
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Question about Real Names

Post by atrol »

golemb wrote: 02 Jan 2025, 19:59 In my situation second parameter ($g_show_user_realname_threshold) doesn't work at all.
Sure? What do you expect?
Again my note
$g_show_user_realname_threshold
This specifies the access level that is needed to see realnames on user view page.
Please use Search before posting and read the Manual
Post Reply