Hidding column when enrolling user?

Hidding column when enrolling user?

by Uvigo Atic -
Number of replies: 2
Hello all,

It is possible to hide some fields from autocompletion when adding a participant to the course? We are usen ID number as username and
it is not a good privacy practice to be able to view the IDs of all users.

Thank you all.
Average of ratings: -
In reply to Uvigo Atic

Re: Hidding column when enrolling user?

by Brett Dalton -
Picture of Moodle HQ Picture of Particularly helpful Moodlers
The issue you will have there is you need to be able to uniquely identify a user if you have 2 with the same name. That is extremely common in institutions of any size. Email addresses are also visible in many other parts of the system (gradebook for example) and optionally in use profiles etc.
In reply to Uvigo Atic

Re: Hidding column when enrolling user?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
There are two main settings which control this:

1. Under Admin -> Users -> User policies -> Show user identity, you can control which identifiers are siginificant to your organisation, and so should be shown in places like this.

2. The capability moodle/site:viewuseridentity - by controlling which roles have that permission, you can control who sees that information, so only the people who need to see it can see it.

As Brett says, People enrolling other people in courses probably need a way to make sure they really have the right user.