07-16-2019 05:36 AM
Hi,
I want to block user to use My Files section. Actually they can acces to it and I want stop it, delete button or other ways
Thk a lot
07-16-2019 07:10 AM
Untested (by me at least) but I wonder if you can disable creation of user home folders (~ "My Files") in alfresco-global.properties for new users ?
home.folder.creation.disabled=true
You would need to check the effect in the UIs (and any other client integrations) to see if they degrade gracefully or require customisation.
You may wish also need to go back and remove existing user home folders. If you go down this path, I highly recommend doing a backup first (with a tested restore to a separate system) 😉
Regards,
Jan
07-16-2019 07:38 AM
I try this solution but user can create or add file and folder in My Files even if i add home.folder.creation.disabled=true in conf file
07-16-2019 08:22 AM
When using this configuration, you need to start from scratch, as user home folders are created (on not) on user creation.
07-18-2019 10:37 AM
Here are a a few solutions, which I have not tested, buy may work:
1. This is the default location of the users' home folders:
spaces.user_homes.childname=app:user_homes
Set it with a different folder name in alfresco-global.properties (you may have to create a folder named "/my user homes"):
spaces.user_homes.childname=app:my_user_homes
2. Disable the automatic creation of home folders:
home.folder.creation.disabled=true
After restarting, users will be unable to see their home folder after clicking on their home directory.
3. Optional: remove the menu option from the Share page (Removing a menu item (Aikau) | Alfresco Documentation )
4. There is still a problem: astute users may find a way to access their old home using the right URL. If you can't delete the home folders, then you should change the ownership of the folders and files (let's say, to admin).
07-16-2019 08:24 AM
Yes but i create a LDAP link and all my user are in alfresco so it didn't work isn't it ?
07-16-2019 08:50 AM
Or where can I modify html file of alfresco and delete My Files part
07-16-2019 09:34 AM
Removing a menu item (Aikau) | Alfresco Documentation
07-16-2019 09:39 AM
Yes i try it but when I copy paste this line after the ';' in this file and reboot my server, it is broken.
And I don't sucess to create a AIO SDK project and Share AMP
I just need to paste this line in the file or I need more ?
07-18-2019 10:38 AM
What line?
Explore our Alfresco products with the links below. Use labels to filter content by product module.