Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How do you map Roles to Permissions #2602


User avatar
0
bilalhaidar created

Hi, I am looking at the database and I cannot see the table that it stores the mapping between Roles and Permissions. Can you guide me please.

Thanks


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

    Hi,

    It is AbpPermissions table. If the RoleId field is filled, then it is for a role. If UserId field is filled, then it is for a user.

  • User Avatar
    0
    bilalhaidar created

    Great. Thanks.

    Is there a way to create Permissions by the Admin from the Web App? Currently, I create them inside .Core module.

    Regards Bilal

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    No, currently permisisons are not dynamic, you need to create permisisons in core module in code.

  • User Avatar
    0
    bilalhaidar created

    Thanks a lot.