Multiple organisations with their own users in One Opigno instance

Profile picture for user luc
luc
Hello, We are having a requests from a customer who makes trainings for multiple organisations. Each organisation has it own set of users. In the beginning they want us to build custom functionality, but in the long run they probably want to use more of the Opigno functionality for their customers. Our first thought to tackle the Multiple Organisations for one Opigno is to introduce a new group "Organisation" in organic groups so we can mange the content per organisation and still have access total functionality of Opigno. We probably need to add a role or more roles so we can make sure that end clients don't have access to content of other clients but that is manageable. My questions is: Is this the right approach ? or do we overlook something which will cause major issues ? Thanks in advance
Profile picture for user James Aparicio
James Aparicio

Hi Luc,

Hi Luc,

The Organisation does not necessarily need to be a group. If it is a content type and the users and content are linked to an Organisation, you can manage the permissions. All the content inside the group (courses) are already access restricted based on the membership of the course. So if you just link the courses to an organization and make sure users never have access to courses linked to other organizations than the ones they are linked to, you should be able to easily manage it.

It is really difficult to decide if the organisation should be a group or not without knowing more details.  Both aproaches should work with a custom opigno_og_access module and a tweaked version of the administeruserbyrole module.

Profile picture for user luc
luc

Thx

Thx for your reply