Totara Learn Open Discussions

Hide admin Cog icon for certain users

 
SpillebeenSven
Hide admin Cog icon for certain users
SpillebeenSven 发表于 2023年05月17日 Wednesday 14:35
 

Is there a way to hide the cog icon (as shown below next to bell icon) for certain users?



Craig Eves
Re: Hide admin Cog icon for certain users
Eves (Totara Support)Craig 发表于 2023年05月18日 Thursday 19:19
小组 Totara

Hi Sven

This quick access cog will disappear if the user's role that is assigned to them doesn't have any admin permissions allowed 

By default the  learner or authentiocated user doesn't have any admin permissions

regards




SpillebeenSven
Re: Hide admin Cog icon for certain users
SpillebeenSven 发表于 2023年05月21日 Sunday 11:40
 

Hey

Thnx for the answer, but isn't there a way to hide it even when an user has certain admin roles.

For example, like when a person has rights to see users in his audience but i would like to create a menu item leading them to the user page instead of letting them use the cog?

I hope I am clear with my question.


thnx in advance

Craig Eves
Re: Hide admin Cog icon for certain users
Eves (Totara Support)Craig 发表于 2023年05月21日 Sunday 15:08
小组 Totara

Hi Sven

Thanks for clarifying 

It is possible to edit the default quick access menu items that appear for users to not include the menu item and add a html block  with links to the to the menu items in  the user's dashboard or course/site page 

Regards


SpillebeenSven
Re: Hide admin Cog icon for certain users
SpillebeenSven 发表于 2023年05月21日 Sunday 23:47
 

Hey Craig


thnx again for the help, solved my problem



ZengEva
Re: Hide admin Cog icon for certain users
ZengEva 发表于 2023年07月26日 Wednesday 08:51
 

Hi Crag,

I have the same request as Sven for my organization. Would you mind sharing the steps to hide the cog icon for all the users (even if they have access to certain menu items)?

Thank you Very much,


Craig Eves
Re: Hide admin Cog icon for certain users
Eves (Totara Support)Craig 发表于 2023年07月27日 Thursday 20:33
小组 Totara

Hi Eva

Can you try preventing the permission Edit your own quick access menu for the authenticated user role?

regards

ZengEva
Re: Hide admin Cog icon for certain users
ZengEva 发表于 2023年07月31日 Monday 07:17
 

Hi Craig,

I followed your suggestion to set it to prevent "Edit your own quick access menu" for authenticated user role. When logging in as a regular user, I still see the cog icon, which provides the user a link to the Courses and categories page. Since users can access all available training on the Find Learning page, is it possible to remove the cog icon including this link?


Craig Eves
Re: Hide admin Cog icon for certain users
Eves (Totara Support)Craig 发表于 2023年07月31日 Monday 16:19
小组 Totara

Hi Eva

There may be other permissions on the Authenticated user role that allow access to the Learning menu. The default authenticated user shouldn't allow these

Are you able to check the default role settings for the authenticated user to see the permissions that have been changed from the default by going to <sitename>/admin/roles/roledefaults.php

regards



ZengEva
Re: Hide admin Cog icon for certain users
ZengEva 发表于 2023年08月1日 Tuesday 05:48
 

Hi Craig, 

Here is the screenshot, I noticed that the default is "allow" on our site. Any insight on this? 

Thanks,





Craig Eves
Re: Hide admin Cog icon for certain users
Eves (Totara Support)Craig 发表于 2023年08月1日 Tuesday 16:26
小组 Totara

Hi Eva

What version of Totara do you have - the default setting may have changed between versions.

regards




ZengEva
Re: Hide admin Cog icon for certain users
ZengEva 发表于 2023年08月3日 Thursday 10:55
 

Hi Craig,

We are using Version 15. In the Version 12 we had in the past, the cog icon wasn't available for regular users, which was good(avoiding confusion, etc.). That's why I am looking for solutions to hide it.

RutherfordJane
Re: Hide admin Cog icon for certain users
RutherfordJane 发表于 2024年01月24日 Wednesday 02:34
 

Hi Craig

I've posted a longer version of this in the Reports thread - but this cog has suddenly appeared for a cohort of users, giving them access to the 'all users' embedded report, across all of our separate offices. A big issue for us.

I've checked the permissions of several of them (there are over 200) and none have admin permissions in their role (s). All the roles involved are set to 'prevent' for the core:edit entries, yet the cog remains.

In addition to this, the LMS has not been touched by us since before Xmas. No changes made whatsoever.

Any ideas appreciated.

Thank you

Jane