cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable invitation of external users into sites?

mpeters
Champ in-the-making
Champ in-the-making
Hello,

we urgently need to disable the <strong>…Add External Users</strong> part of the <strong>invitation form</strong> for all share sites (http://alfresco.example.org/share/page/site/yourfantasticsite/invite) in <strong>Alfresco 4.1.3</strong>.

While I found some approaches here in the forum I still miss a complete and approved solution. So if someone has done this already would you like to share your solution here? I really would appreciate this. Thanks very much.

Kind regards
Markus
6 REPLIES 6

eswbitto
Confirmed Champ
Confirmed Champ
In the public-services-security-context.xml file you could probably change some value's. I've never tried personally other than only allowing the admin to create site's. For your circumstance around line 885-… of the file might be a possibility.

jolafson
Champ in-the-making
Champ in-the-making
Were you ever able to get an approved solution to this? I am looking for the 'correct' way to do so as well. If so, please post here. It would be much appreciated!

Best,

Josh

mpeters
Champ in-the-making
Champ in-the-making
No, unfortunately we did not found a solution yet. Any hints are welcome.

Kind regrads
Markus

niketapatel
Star Contributor
Star Contributor
To disable external user invitation , quick solution I can see is to modify addemail.get.js located at below location. [put in web-extension folder]

tomcat\webapps\share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\invite\

You can simply change allowEmailInvite to false

model.allowEmailInvite = false

OR

You can disable if your installation doesn't support the creation of new users.

Please check - http://docs.alfresco.com/4.2/topic/com.alfresco.enterprise.doc/tasks/members-invite.html

jolafson
Champ in-the-making
Champ in-the-making
Thanks so much- I will have to try this.

mtsiak
Star Contributor
Star Contributor

You could try overriding enable-external-users-panel users property:

Enabling External Users panel | Alfresco Documentation