A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Hide toolbar buttons and edit tabs in edit UI

Vote:
 

I'm looking for a way to disable certain buttons in the edit toolbar as well as the tabs in the edit UI for a particular user group. Can this be achieved?

#35362
Dec 08, 2009 10:08
Vote:
 

Hi James,

For your first problem (disable buttons in editor), have a look at this forum post
http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=35066&epslanguage=en

For your second problem , I am not really sure which tabs are you talking about. Could you please elaborate it a bit more.

#35363
Dec 08, 2009 11:10
Vote:
 

Hi Shahid,

THanks for the reply. The forum post refers to disabling buttons in the rich text editor. I want to disable buttons in the Edit user interface that appear just below the EpiServer logo in the Edit UI. I don't want certain users to be able to access the Report Center, Action Window, Workflow Window etc - which are accessed via these toolbar buttons.

The tabs I want to hide are the ones in the edit UI (~/ui/edit) which are labelled Structure, Favorites, My Tasks. I'm guessing this level of customisation would not be achieved via a config setting rather through writing some custom code. It's just knowing which event to hook in to and how to do so (I'm very new to EpiServer).

Thanks!

#35365
Dec 08, 2009 12:21
Vote:
 

Hi James,

Ah!..Yes there is no such config setting available that enable/disable the buttons based on user roles.

Anders Hattestad has written something similar to your question. Have a look at his blog post which I am pretty sure will be of great help to start off.

http://labs.episerver.com/en/Blogs/Anders-Hattestad/Dates/2009/5/Hiding-tabs-based-on-roles/

#35370
Dec 08, 2009 13:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.