Advanced set-ups

With the configuration of object access (described here) we solve the simple needs, where you can configure what group all objects created by a certain user is set to as well as the default permissions.

For more advanced needs, we need to set the owner, group and permission for objects through customization with the concept of custom limeobjects. The technical documentation you can find here.

Example 1 – Cascade permissions

The employees are divided into teams, and the employees should only be able to access projects belonging to their own team. The same rules should also apply for any history and documents connected to those projects. That is, you should only be able to see the history notes and documents for the projects that you have access to.

This case is more advanced since the permissions for history notes and documents depends on whether the notes and documents are connected to a project or not. In this case – all documents and history notes NOT connected to a project should be accessible to everyone.

To solve this more advanced case you need to:

Then we need to use a custom limeobject to apply the wanted behavior when creating history notes and documents. This means that:

Through the custom limeobject, we also need to update the group and permissions for the history notes and documents if the:

Example 2 – Dynamic groups

The employees are working in cross-functional teams for their projects in Lime CRM, where the teams are administrated per project through a tab “Project members”. Only the users connected to the project through the relation to “Project members” should have access to the project.

To solve this more advanced case you need to:

Then we need to use a custom limeobject to apply the wanted behavior for creating the right group and members. This means that: