0
okeziestanley created
Good day all, I am using Module Zero and in the module configuration I created some static role definitions . But when I use the RoleManager to retrieve all roles, it doesn't include the StaticRole definitions(returns only from the database). How can I access those or write them to the database. Thanks
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
1 Answer(s)
-
0
Hi,
When creating each tenant you need to create static roles for that tenant as well using
await _roleManager.CreateStaticRoles(tenantId);For current tenants, you need to manually create those static roles.
Thanks.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)