0
PMS created
Is it possible that new tenats after creation have admin role disabled.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi @PSP
For new tenants, static roles (including admin) is created here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/MultiTenancy/TenantManager.cs#L121. Instead of using
_roleManager.CreateStaticRolesyou can create the roles you want here.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)