Base solution for your next web application
Open Closed

Extend permission table #3961


User avatar
0
sago created

i need to add new columns to permission table ,is it possible ?if not what is the solution for this ,i have to add extra information to the table


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

    Hi,

    There are 3 classes you can extend according to your needs.

    Base for UserPermissionSetting & RolePermissionSetting: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Authorization/PermissionSetting.cs">https://github.com/aspnetboilerplate/as ... Setting.cs</a>

    <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Authorization/Users/UserPermissionSetting.cs">https://github.com/aspnetboilerplate/as ... Setting.cs</a> <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Zero.Common/Authorization/Roles/RolePermissionSetting.cs">https://github.com/aspnetboilerplate/as ... Setting.cs</a>

    You can check this document for extending entities <a class="postlink" href="https://aspnetzero.com/Documents/Extending-Existing-Entities">https://aspnetzero.com/Documents/Extend ... g-Entities</a>.