This forum is not used anymore. Please ask new questions to Stack Overflow: https://stackoverflow.com/questions/tag ... ort=newest (use aspnetboilerplate tag).
By okeziestanley
#18652 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
By ismcagdas
#18672 Hi,

When creating each tenant you need to create static roles for that tenant as well using
Code: Select allawait _roleManager.CreateStaticRoles(tenantId);


For current tenants, you need to manually create those static roles.

Thanks.