Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "aaron"

Check:

  • browser console for JavaScript errors, and
  • *.Web.Public/App_Data/Logs.txt for server errors.

Check:

  • browser console for JavaScript errors, and
  • *.Web.Host/App_Data/Logs.txt for server errors.

SeedHelper is called in PostInitialize method of your *EntityFrameworkCoreModule on application startup.

You cannot clone a folder. You can clone the repo, accessible by clicking on aspnetboilerplate-samples.

You can clone the repo.

Check the error in Logs.txt.

Answer

The new support site already works like that. This question is #5870, so the link is https://support.aspnetzero.com/QA/Questions/5870.

Previous post numbers are not carried over. Are you looking for https://forum.aspnetboilerplate.com/viewtopic.php?f=5&p=27521?

What's wrong?

I'm not sure overriding CreateStaticRoles is correct either. It doesn't look like it is ever called during the startup process, and it also seems to be tenant specific.

Static roles aren't used during the startup process.

do we have iterate every existing tenant to remove/add them

Yes.

or is there a way to remove a role/permission globally via code and have it effect all tenants?

You can write code to do that.

Does removing the permission from the STATIC role remove it for each of the tenants automatically?

No. It's not a valid assumption.

  • Feature specification: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/3334
  • Similar question: https://github.com/aspnetzero/aspnet-zero-core/issues/1353

It's the wrong place to do it.

You can override CreateStaticRoles method in RoleManager.

Showing 541 to 550 of 1543 entries