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)
-
0
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>.