<?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 'Create Site' Button in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301408#M254538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried the code added to my-sites.get.js. However I still can see the button with all users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using LDAP - AD authentication, I didn't mentioned, because I do not think it's relevant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also should I delete some compiled files before I restart the service? I'm asking because not so long ago I did that when I needed to do some other customizations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bobi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 08:49:01 GMT</pubDate>
    <dc:creator>borisstankov</dc:creator>
    <dc:date>2015-03-23T08:49:01Z</dc:date>
    <item>
      <title>Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301400#M254530</link>
      <description>Hello all,Do anyone of you know, or did anyone tried to disable (hide) the "Create Site" Button for non Admin users (or show it only for specific group of ppl)?I'm using Alfresco 5.0.c. I found some topic on 4.0, 4.2 and even older versions, but I tried them all and non of them worked as it should.R</description>
      <pubDate>Fri, 13 Mar 2015 13:23:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301400#M254530</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-03-13T13:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301401#M254531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean the button on my-sites dashlet ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 16:30:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301401#M254531</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2015-03-13T16:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301402#M254532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;try to override files &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/header/sites.get.html.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/header/sites.get.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;its quite 'dirty' but I don't how to do that in any other way…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ex:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in ftp template:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#if createSiteVisible&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ul class="create-site-menuitem"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;li&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;a href="#" onclick='Alfresco.util.ComponentManager.get("${id_js}").showCreateSite(); return false;'&amp;gt;${msg("label.create-site")}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/li&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/ul&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;in js:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;createSiteVisible function returns true/false if user is admin….&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(i'll post an example later id needed)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Vincent&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 16:46:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301402#M254532</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2015-03-13T16:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301403#M254533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you check this .. &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/tasks/dev-extensions-share-tutorials-custom-header-sites-menu.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/tasks/dev-extensions-share-tutorials-custom-header-sites-menu.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 05:52:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301403#M254533</guid>
      <dc:creator>niketapatel</dc:creator>
      <dc:date>2015-03-16T05:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301404#M254534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the notes, I'll try them next week when I'm back in the office. And I'll give you a feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a question about code in the .js file, would you please let me know where I need to add it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; model.showCreateSite = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume that I need to ovewrite it with something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if (user == admin)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {model.createSiteVisible = true}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; else {model.createSiteVisible = false}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:55:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301404#M254534</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-03-16T08:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301405#M254535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the note. Unfortunatelly I never found this topic. I'll check it next week when I'm i nthe office and I'll give you my feeback. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 08:56:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301405#M254535</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-03-16T08:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301406#M254536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;you can try to add this code in my-sites.get.js:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; createSiteVisible &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;userHasGroup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'SiteCreators'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;model&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;createSiteVisible &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; createSiteVisible&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;userHasGroup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;username&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; group&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; remote&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;call&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"/api/people/"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; stringUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;urlEncode&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;username&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"?groups=true"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;result&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;status &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;200&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;!=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"{}"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;eval&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'('&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;')'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; groups &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Array&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;        groups &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;groups&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;i &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt; groups&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;length&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; i&lt;SPAN class="operator token"&gt;++&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;groups&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;itemName &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"GROUP_"&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; group &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; groups&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;i&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;itemName &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"GROUP_ALFRESCO_ADMINISTRATORS"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;                &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// found group&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: the code had some errors, and there were parts not relevant to the topic, so I fixed it and removed those parts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 14:32:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301406#M254536</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2015-03-16T14:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301407#M254537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you try my add-on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://github.com/jpotts/share-site-creators" rel="nofollow noopener noreferrer"&gt;https://github.com/jpotts/share-site-creators&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It restricts the create-site links everywhere they exist to only the members of the Site Creators group. If it doesn't work in 5.0.c create an issue and I'll look at it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 23:56:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301407#M254537</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-03-17T23:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301408#M254538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Vincent,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just tried the code added to my-sites.get.js. However I still can see the button with all users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using LDAP - AD authentication, I didn't mentioned, because I do not think it's relevant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also should I delete some compiled files before I restart the service? I'm asking because not so long ago I did that when I needed to do some other customizations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bobi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 08:49:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301408#M254538</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-03-23T08:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301409#M254539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll try this add-on for sure on my version. I'll keep you posted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:58:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301409#M254539</guid>
      <dc:creator>borisstankov</dc:creator>
      <dc:date>2015-03-23T15:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301410#M254540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; i can't understand the installation step. kindly explain how to on alfresco 5.0d&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Apr 2015 07:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301410#M254540</guid>
      <dc:creator>selvakumaran</dc:creator>
      <dc:date>2015-04-09T07:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301411#M254541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Running on 5.0.d with multi-tenancy enabled is not working fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've installed your very interesting add-on, but does not working fine. I have two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - The menu "Create Site" remains visible even for users who are not in the group "GROUP_SITE_CREATORS".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - The user has no permission to create a new site even he are in the group "GROUP_SITE_CREATORS".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new with Alfresco, so there is anything I can check to solve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mauricio&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 12:10:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301411#M254541</guid>
      <dc:creator>mauricio_neto</dc:creator>
      <dc:date>2015-04-20T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301412#M254542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Running on 5.0.d MT (cont…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I added the Share Site Creators to the Deployed Modules using the Share Module Deployment Console, the menu "Create Site" is not visible, even to that users into GROUP_SITE_CREATORS group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this behavior may be related to the environment be multi-tenancy?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mauricio&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Apr 2015 13:49:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301412#M254542</guid>
      <dc:creator>mauricio_neto</dc:creator>
      <dc:date>2015-04-20T13:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301413#M254543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First, make sure you have checked out the 5.0.d branch. The code in the master branch will not work with 5.0.d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, build the source using mvn install. You must do this once for the repo tier project and once for the share tier project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally, install the AMPs that get placed in each of the two projects' target directories. The easiest way to install an AMP is to place it in the amps or amps_share directory then run apply_amps.sh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that doesn't resolve your problem please provide specifics on what you are trying to do and the error message you are seeing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 03:49:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301413#M254543</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-04-21T03:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301414#M254544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Make sure you named your group "SITE_CREATORS". Alfresco will prepend the group ID with "GROUP_" so you should not specify that when you create the group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 03:50:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301414#M254544</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-04-21T03:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301415#M254545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great! Add-on working fine, thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mauricio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 13:17:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301415#M254545</guid>
      <dc:creator>mauricio_neto</dc:creator>
      <dc:date>2015-04-21T13:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301416#M254546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the following error when I run the mvn install, can't you post the two amp files for 5.0.d?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] ————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] BUILD FAILURE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] ————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] Total time: 41:04 min&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] Finished at: 2015-06-23T08:32:13-04:00&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] Final Memory: 18M/481M&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[INFO] ————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] Failed to execute goal on project share-site-creators-repo: Could not resolve dependencies f&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or project com.ecmarchitect:share-site-creators-repo:amp:0.0.2-SNAPSHOT: Could not transfer artifact&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; org.apache.poi&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;oxml-schemas:jar:1.1 from/to central (&lt;/SPAN&gt;&lt;A href="https://repo.maven.apache.org/maven2" rel="nofollow noopener noreferrer"&gt;https://repo.maven.apache.org/maven2&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; GET re&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;quest of: org/apache/poi/ooxml-schemas/1.1/ooxml-schemas-1.1.jar from central failed: Read timed out&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; -&amp;gt; [Help 1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] For more information about the errors and possible solutions, please read the following arti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cles:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 1] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 12:59:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301416#M254546</guid>
      <dc:creator>dhernandez</dc:creator>
      <dc:date>2015-06-23T12:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301417#M254547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It all worked after I ran this command: mvn -Dplugin=install help:describe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your contribution&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 16:27:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301417#M254547</guid>
      <dc:creator>dhernandez</dc:creator>
      <dc:date>2015-06-23T16:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301418#M254548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This plug-in LDAP does not work well …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can not create sites with user group members.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;05290021 Wrapped Exception (with status template): 05290204 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/membership/membership.put.json.js':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used alfresco 5.0.d&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 06:51:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301418#M254548</guid>
      <dc:creator>elsorro</dc:creator>
      <dc:date>2015-07-02T06:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling 'Create Site' Button</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301419#M254549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to confirm: When you run 5.0.d out-of-the-box, with no customizations at all, you can create sites with user group members and you won't see that exception. After you install the share site creators AMPs you see the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that what you're seeing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 13:09:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disabling-create-site-button/m-p/301419#M254549</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2015-07-21T13:09:39Z</dc:date>
    </item>
  </channel>
</rss>

