cancel
Showing results for 
Search instead for 
Did you mean: 

Hiding the ability to invite Groups

docrock
Champ in-the-making
Champ in-the-making
Hello gents,

I'm working on an implementation of Alfresco for my business. I've been digging around, but I can't seem to find how to do this. I would like to remove the ability to allow users to invite groups to a site and only allow individual users be invited one at a time.

I've told our teams that we are to only be using individuals to invite folks to a site, however seeing that "Groups" button on the invitation page has enticed a few people to begin complaining rather loudly for the ability to add folks to one.

How can I remove the ability to invite groups to a site or simply hide the option to do so?

Thanks!
1 REPLY 1

sujaypillai
Confirmed Champ
Confirmed Champ
Create a folder under tomcat/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/invite
Copy the file members-bar.get.js to this location
Comment the lines as shown below -

   // Add Site Groups link
//   model.links.push(
//   {
//      id: "site-groups-link",
//      href: "site-groups",
//      cssClass: (model.activePage == "site-groups" || model.activePage == "add-groups") ? "theme-color-4" : null,
//      label: msg.get("link.site-groups")
//   });


This would hide the members link on "Add Users" page.