Block uploads of certain file type to sites and folders in Alfresco 5.x

By default Alfresco does not have any restrictions on file types that can be added to the repository. Alfresco accepts .exe, .dll, .sh, .js, .cs, .java etc. So if there is a business requirement to block certain file types from being uploaded to a site of folder in Alfresco, how can we go about implementing that in simple fashion?

 

Continue reading “Block uploads of certain file type to sites and folders in Alfresco 5.x”

List all sites a particular user is member of in Alfresco 5

We have seen similar requirements many times. How do i find all the sites a particular user is a member of? One way is to write a SQL query with joins on the alf_ tables in the database. But Alfresco advises against hitting the data base directly. Instead we can use webscripts that are provided by Alfresco to get the information we need quickly.

Continue reading “List all sites a particular user is member of in Alfresco 5”

Add new permission for existing site groups – Alfresco Share

Sometimes, the default site permissions would not be enough for particular use case. Take for example, a user is added as a collaborator to a site. The user can add documents, but cannot delete any. Now say we want to add delete permission for this user. How do we go about doing that quickly?

 

Continue reading “Add new permission for existing site groups – Alfresco Share”

Disable non-admin users from deleting or updating site permissions – Alfresco Share

We can also disable permissions to delete a site or update site visibility for sites that are already created before we applied the disable create site permission update to share.

Continue reading “Disable non-admin users from deleting or updating site permissions – Alfresco Share”

Disable non-admin users from creating sites – Alfresco Share

This time we want to prevent users who are not defined as admins or in the admin group from creating their own sites. Is there a quick and simple way make this change and persist this across amp deployments?

Continue reading “Disable non-admin users from creating sites – Alfresco Share”

Hide ‘Manage-permissions’ link in sites – Alfresco Share

I have a site and i want to restrict all users from making any changes to the sites permissions. Is there a quick and easy way to do that in Alfresco One 5.0? Lets look at sites and permissions and how we can apply a quick fix. Continue reading “Hide ‘Manage-permissions’ link in sites – Alfresco Share”

Alfresco Maven SDK

Many times when we want to customize Alfresco, we tend to take the easy route and make changes to the core Alfresco .js and .xml files that are in the alfresco or share folders.  While this may be a quick fix and easy to work with, it is not advisable to do so and not recommended by Alfresco as well. The reasons are as follows.

Continue reading “Alfresco Maven SDK”

Alfresco Share Customization – Part 2

Customize Alfresco Share login page footer 

Intro

In the previous post we looked at changing the login logo for Share. In this post we are going to update the copyright text in the login page. We are going to use the same project we used for Part 1 of Alfresco Customization

 

Continue reading “Alfresco Share Customization – Part 2”