Open Closed

Permission between users records #3477


User avatar
0
aroyal81 created

Hello, I have a question about permissions on records between user roles. The point was that we have several clients with the same role and would like to display separate records for each client (records was place in one table). In other words, i have entity "Transactions", how to make User-1 with default role (lets be "Customer") not see User-2 with role "Customer" data on follow menu "Transactions" in UI Abp.

  • ABP Framework version: v5.3.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

PS. and a non-framework related question, how can I update my username here? because instead of it email was indicated and it does not allow changing in the account..


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can override permissions by a custom policy or filter data in a repository or domain service.

    https://docs.abp.io/en/abp/latest/Authorization#overriding-a-permission-by-a-custom-policy

    https://docs.abp.io/en/abp/latest/Data-Filtering

    PS. and a non-framework related question, how can I update my username here? because instead of it email was indicated and it does not allow changing in the account..

    Send an email to info@abp.io :)

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11