User Can't See Roles under Profile Preferences

User Can't See Roles under Profile Preferences

Jackie Toth -
回帖数:6

Happy Friday Everyone!

I can't seem to find the permission that controls who can see their Roles under Preferences.  The documentation only states that it is controlled by a permission.  Anyone know which permission?

回复Jackie Toth

Re: User Can't See Roles under Profile Preferences

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Which documentation page are you looking at?
回复Mary Cooch

Re: User Can't See Roles under Profile Preferences

Jackie Toth -
Happy Friday Mary!!
https://docs.moodle.org/311/en/Preferences#Roles

There really is no information under Roles, however, under Miscellaneous it states all this is determined by permissions. I also believe it is is a permission controlling this because I can see my Roles when I am logged in as an Admin or Manager but Authenticated user and other roles cannot.

I tried to figure out which permissions it might be but couldn't find anything that made sense to me.

Hoping you can help me out. Have a great day!
回复Jackie Toth

Re: User Can't See Roles under Profile Preferences

Jackie Toth -
Still in need on some direction regarding this question or confirmation that as Authenticated User you do not see Roles.
回复Jackie Toth

Re: User Can't See Roles under Profile Preferences

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Hello Jackie. I think the documentation Preferences#Roles refers to managers or admins checking the roles of users such as teachers or students and not to authenticated users being able to check theirs. I tried to look for the specific capabilities for this but didn't find them (although I did find an interesting partially related forum post: Allow role permisson to modify user preferences [...].
回复Jackie Toth

Re: User Can't See Roles under Profile Preferences

Helen Foster -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像 Translators的头像

Hi Jackie,

Only users with the capability to assign roles (moodle/role:assign), override permissions (moodle/role:override) and review permissions for others (moodle/role:review) in the system context (by default managers) see the section Roles under profile preferences. They can review and change a user's role assignments and review and change permissions for the user.

PS I am moving this discussion to the Roles forum...