Base solution for your next web application
Open Closed

Doubts regarding tenant and organization unit :?: #1045


User avatar
0
malcon created

Doubts regarding tenant and organization unit.

I am starting a new application, and would like to implement the zero module, I have doubts about using some tenant or organization Unit, I will explain.

A student to log in the application must enter a study group. All information are related to the study group. (At this point I assumed that the study group = tenant)

This student can invite other students to the same group (adding users to the tenant)

This student can participate in more than one study group (eg Group of Physics, Mathematics Group, Chemical Group)

However, there is another type of person accompanying the group as a moderator, where he can see and run only a few functions.

At this point that generated the confusion, one User can view the information from various tenants without having to keep changing session?

(Ex: The moderator wants to know the amount of files uploaded by study group) (Ex2: The moderator manages 2 groups (Physics and Mathematics) want to know the notes of a particular student who participates in study groups he moderates)

An important point that 95% of students only belong to one group of studies, so set the study group as a tenant.

Any suggestion? :?: :?: :?:


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    Your application seems not multi-tenant. Your app is a single tenant app where all students are in same scope and can interact with each other. Organization units can be used for student groups, as alternative you can create your own StudentGroup entity and manage it yourself.