Abp: Apply Multi-Tenancy for special service

Created on 3 Feb 2019  路  3Comments  路  Source: abpframework/abp

Is it possible? If we try to configure a service host (e.x ProductManager service) as multi-tenant then whats happen to our user authorization?

Is there any plan for implanting OrganizationUnit?

question

Most helpful comment

Is it possible? If we try to configure a service host (e.x ProductManager service) as multi-tenant then whats happen to our user authorization?

Identity module supports multi-tenancy. Any service can implement multi-tenancy. Once user authenticates, the authentication ticket (access_code) will contain the TenantId and the multi-tenancy compatible service can get the tenantid from claims.

MicroserviceDemo example will include multi-tenancy, but not finished yet.

Is there any plan for implanting OrganizationUnit?

Will be implemented eventually but it has a low priority. If it is essential for you, I suggest you to implement it for your own solution.

All 3 comments

It is a good question. I have same issue like this. I want to assign people to areas and then assign some areas to a user. Finally user could see only people that has access to their area.

@kharazian dorud bar shoma. Man daram ruye ye project kar mikonam ke ye bakhshesh nopCommerce hastesh. Dust dari kenar ham kar konim? Age moshtagh hasti ye pm tu telegram behem bede. Be hamin ID @hitaspdotnet

Is it possible? If we try to configure a service host (e.x ProductManager service) as multi-tenant then whats happen to our user authorization?

Identity module supports multi-tenancy. Any service can implement multi-tenancy. Once user authenticates, the authentication ticket (access_code) will contain the TenantId and the multi-tenancy compatible service can get the tenantid from claims.

MicroserviceDemo example will include multi-tenancy, but not finished yet.

Is there any plan for implanting OrganizationUnit?

Will be implemented eventually but it has a low priority. If it is essential for you, I suggest you to implement it for your own solution.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SmallShrimp picture SmallShrimp  路  3Comments

hikalkan picture hikalkan  路  3Comments

ugurozturk picture ugurozturk  路  3Comments

leonkosak picture leonkosak  路  3Comments

vfabregat picture vfabregat  路  3Comments