<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disabling some header options for user in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110007#M30816</link>
    <description>&lt;P&gt;You can extend share header and add check for admin user like:&lt;/P&gt;
&lt;P&gt;//In share-header.get.js::&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if (!user.isAdmin == true) {&lt;/P&gt;
&lt;P&gt;//Remove the menu item for no admin users by finding the required item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Refer this documentation for share header:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-share-header-menu.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-share-header-menu.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;To learn more on extension modules refer:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-extensions-share-override-ootb-surf-webscripts.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 12:02:00 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2020-05-14T12:02:00Z</dc:date>
    <item>
      <title>Disabling some header options for user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110006#M30815</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I want to disable some header options for the user not for the admin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tried by making changes in share-header.get.properties, but it applies only for admin.&lt;/P&gt;&lt;P&gt;I want to apply these changes for the user instead of admin.&lt;/P&gt;&lt;P&gt;I have used this code. I have tried by changing the user name instead of admin, but there is no change in the user's header.&lt;/P&gt;&lt;P&gt;Please help me with this.&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Amar.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:06:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110006#M30815</guid>
      <dc:creator>amar7295</dc:creator>
      <dc:date>2020-05-14T09:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling some header options for user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110007#M30816</link>
      <description>&lt;P&gt;You can extend share header and add check for admin user like:&lt;/P&gt;
&lt;P&gt;//In share-header.get.js::&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if (!user.isAdmin == true) {&lt;/P&gt;
&lt;P&gt;//Remove the menu item for no admin users by finding the required item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;Refer this documentation for share header:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-share-header-menu.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-share-header-menu.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.2/tasks/dev-extensions-share-tutorials-custom-header-menu-item-removal.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;To learn more on extension modules refer:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-extensions-share-surf-extension-modules.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-extensions-share-override-ootb-surf-webscripts.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-extensions-share-override-ootb-surf-webscripts.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 12:02:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110007#M30816</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-05-14T12:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling some header options for user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110008#M30817</link>
      <description>&lt;P&gt;Thanks for the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 11:50:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110008#M30817</guid>
      <dc:creator>amar7295</dc:creator>
      <dc:date>2020-05-19T11:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling some header options for user</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110009#M30818</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/79472"&gt;@amar7295&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for accepting the solution - helpful to other users &amp;amp; nice for the person that helped you to know it worked.&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:25:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disabling-some-header-options-for-user/m-p/110009#M30818</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-19T14:25:52Z</dc:date>
    </item>
  </channel>
</rss>

