I’m currently working on a project to create Electronic Personal Folders (EPFs) within Alfresco on behalf of our HR partners.
Content will include things like contracts, leave requests etc
The brief is to automate the creation of the folders and make sure the permissions for the folder and sub-folders are correctly set.
A manager should be able to see all of their folder plus the folders of their staff, while an employee should be only able to see their folder.
The script processes a CSV that is created from one of our HR systems and calls a custom Alfresco web script, this creates a top level folder which has the Payroll number as the name and the job description/employee name as the title. Underneath this it creates the sub folders (Pay, leave, etc) and applies relevant permissions to all the folders, e.g. Leave is read/write by the manager but read-only by the employee.
This ‘creation’ script is part one, it will be called to initially create the (EPFs) for the current employees and there after on any new employees.
Continue reading Alfresco folder permissions