I need to get some advice on how to set default permissions on static roles not during tenant creation but during database emigrations. . I have several new permissions that are being created for a new feature. The associated permissions need to be turned on for several roles and I am wondering if there is a clean way to handle this.
For one, the permission isn't actually added into the system until Startup right? So, when I run the migrations through the migrator application, the permissions don't actually exists in the database yet for me to assign to a role.
Is there some guidance on this?
2 Answer(s)
-
0
Join the discussion here: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/657">https://github.com/aspnetzero/aspnet-ze ... issues/657</a> :D
-
0
Thanks @BBakerMMC :)