sitecoresitecore8restrictionssitecore8.1

Sitecore Publish Restrictions Window - Hide tab


Can I restrict the show of these tabs? Is this via a Core DB security setting? or is it in configurations? I do not want to show the target tab to my users.

Image of the dialog I am referring to


Solution

  • You cannot restrict the tabs you have specified. However, you can do the following:

    Override the Sitecore UI XML and write a custom code to check the roles before rendering the tab

    The XML to override is the Set Publishing.xml and the path is Website\sitecore\shell\Applications\Content Manager\Dialogs\Set Publishing

    The reason why you cannot put restriction on the tab is because when the form loads, it you directly load all the tabs. There is no check of the user role.

    EDIT 1: More information is available on my post https://hishaamn.wordpress.com/2016/04/24/sitecore-custom-publish-restriction/

    Thanks