Base solution for your next web application
Open Closed

Role creation #2032


User avatar
0
sison created

HI,

I need to add dynamic roles and have sufficient permissions to roles we created. is that possible in boiler plate?? if yes please narrate me how!!


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

    Hi,

    You can create new roles and grant permissions after creation of roles using AbpRoleManager class. You can check it here <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/blob/8c8d3e2652720f52ddb52954f3838cea692de02f/src/Abp.Zero/Authorization/Roles/AbpRoleManager.cs">https://github.com/aspnetboilerplate/mo ... Manager.cs</a>