<?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: Make Create-site button visible only to admin users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302294#M255424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ALFRESCO_ADMINISTRATORS is the default admin group that is installed with Alfresco. ROLE_ADMINISTRATOR would be the same thing in the config files that is used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To change only the admin having the ability to create sites go to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;install DIR/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/public-services-security-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that is where your line of code you have mentioned above is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've never tried putting the code in the share-config.xml file before. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as making the button only visible to admin I don't believe there is a way to do that without having to do some serious modifying. That will cause some issues with upgrading. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Personally I like to see users try to create sites, I give an evil laugh when they get the access denied notice &amp;gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 15:29:41 GMT</pubDate>
    <dc:creator>eswbitto</dc:creator>
    <dc:date>2013-10-30T15:29:41Z</dc:date>
    <item>
      <title>Make Create-site button visible only to admin users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302293#M255423</link>
      <description>Hello,I want to make the button Create-site visible only to admin users,so i have modified the file &amp;lt;strong&amp;gt;public-services-security-context.xml&amp;lt;/strong&amp;gt; org.alfresco.service.cmr.site.SiteService.createSite=ACL_METHOD.ROLE_ADMINISTRATOR ‍ but i can always create a site with all usersAny</description>
      <pubDate>Wed, 30 Oct 2013 14:48:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302293#M255423</guid>
      <dc:creator>midoscofield</dc:creator>
      <dc:date>2013-10-30T14:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Make Create-site button visible only to admin users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302294#M255424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ALFRESCO_ADMINISTRATORS is the default admin group that is installed with Alfresco. ROLE_ADMINISTRATOR would be the same thing in the config files that is used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To change only the admin having the ability to create sites go to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;install DIR/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/public-services-security-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that is where your line of code you have mentioned above is. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've never tried putting the code in the share-config.xml file before. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as making the button only visible to admin I don't believe there is a way to do that without having to do some serious modifying. That will cause some issues with upgrading. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Personally I like to see users try to create sites, I give an evil laugh when they get the access denied notice &amp;gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:29:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302294#M255424</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2013-10-30T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Make Create-site button visible only to admin users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302295#M255425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Heu yes I was wrong I also modified the same file,I even tried to restart the server and disconnect from the session, but it does not always work .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not understand why it does not work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 15:47:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302295#M255425</guid>
      <dc:creator>midoscofield</dc:creator>
      <dc:date>2013-10-30T15:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Make Create-site button visible only to admin users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302296#M255426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah it works, At first I thought that the button Create-site is going to be hidden too, but in reality the restriction is remarkable Only after entering the site's name to create&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 09:42:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/make-create-site-button-visible-only-to-admin-users/m-p/302296#M255426</guid>
      <dc:creator>midoscofield</dc:creator>
      <dc:date>2013-10-31T09:42:19Z</dc:date>
    </item>
  </channel>
</rss>

