cancel
Showing results for 
Search instead for 
Did you mean: 

Disable EVERYONE group role

redbull
Champ in-the-making
Champ in-the-making
Hi,
I notice that when I login as admin and then create a new user, Alfresco by default associates his homespace to EVERYONE group with CONSUMER role.
How can I prevent this?
Is there some configuration file to change?
Thank you.
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
When a user is created a "Home Folder Provider" is used to generate the user's home folder.

You can plug in your own Home Folder Provider or use one of the ones out of the box.

You are probably using the UsernameHomeFolderProvider.

Home Folder Providers have an "onCreatePegrmissionsManager" which you can configure.

redbull
Champ in-the-making
Champ in-the-making
thank you, mrogers, for your explanation.
Even so waiting for an answer to my question I did this change in web-client-config-custom.xml overwriting the out of the box web-client-config.xml:

   <config evaluator="string-compare" condition="home-space-permission" replace="true">
      <client>
         <!– The default permissions to apply to a new users Home Space when first created –>
         <!– this permission is for other users attempting to access that Home Space –>
         <!– generally set to "Consumer" or empty value to indicate a private hidden space. –>
         <!– see org.alfresco.service.cmr.security.PermissionService for allowed values –>
         <home-space-permission></home-space-permission>
      </client>
   </config>

And now when I add a new user only he has "full access" to his homespace.
It's ok for me.