Forums | Mahara Community

Support /
Problem with groups in Mahara


Joyce Kamycki's profile picture
Posts: 1

31 May 2024, 19:36

Good afternoon,


We are using Mahara 23.04.4 and using it as an LTI integration with Moodle 4.3.2. and running into the following problem with groups in Mahara:

Different group administrators have a different view of the members in the group.

One group administrator does see the username by the name of the members and another group administrator does not see the username by the members.

In our opinion, there is no difference in permissions between these group administrators.
Is it possible that all group administrators can see the usernames of all members so that the distinction between students/employees and manual accounts is clear.

As an example, we have attached 2 screenshots showing this difference.

The example below is how Judith van Hooijdonk sees the members of the group. is seen.

 

The example below is how Miekie Heugten - Slits sees the members of the group.

We want every Mahara participant to be able to see the username of all other participants. Not only in groups, but also when sharing a portfolio. Can anyone tell us how to set this up?

Robert Lyon's profile picture
Posts: 773

04 June 2024, 9:18

Hi Joyce,

The reason one group administrator is seeing usernames and another group administrator is not will be due to one of the group administrators also being a site or institutional administrator as well.

To get all people to be able to see usernames you will need to make a custom change in the 

htdocs/lib/user.php file in the function display_name()

And change the line:
    $addusername = ($username && empty($nousernames)) || !empty($userto->admin) || !empty($userto->staff);

To:
    // Custom change - allow all to see username
    // $addusername = ($username && empty($nousernames)) || !empty($userto->admin) || !empty($userto->staff);
    $addusername = true;

That way all people should have the username attached to the displayed name string.

Cheers

Robert

Kristina Hoeppner's profile picture
Posts: 4859

04 June 2024, 10:46

Hi Joyce,

It could also be that one of your people is a staff member. People with the 'Staff' role on Mahara (institution or site staff) can see the full name, including username.

Why would you want students to see usernames? Often, usernames are some internal identifier that should not be known to everyone but staff or administrators or that is very long.

Cheers

Kristina

3 results