Base solution for your next web application
Open Closed

Sync new Static Roles / Permissions to existing tenants #9194


User avatar
0
CrayonGroupSCA created

Using: MVC & jQuery 7.2

We have a number of tenants in our production site but have recently added additional roles with permissions inside. These are created for any new tenants but is there a suggested way to "sync" static roles & associated permissions for existing tenants so they all benefit.

For example:

Tenant A = Role 1, Role 2

In code we create Role 3 and publish a new build.

New Tenant created called "B" = Role 1, Role 2, Role 3 Tenant "A" = Role 1, Role 2 (Doesn't gain the new Role 3).

Any ideas would be welcome.

Thanks, Dave


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @CrayonGroupSCA,

    I think, it would be better to handle this on database side. You can insert necessary records to AbpRoles table manually.