# Abp.DynamicPermission

ABP version (opens new window) NuGet (opens new window) NuGet Download (opens new window) Discord online (opens new window) GitHub stars (opens new window)

An ABP module that allows you to define and grant dynamic permissions in runtime.

# Installation

  1. Install the following NuGet packages. (see how (opens new window))

    • EasyAbp.Abp.DynamicPermission.Application
    • EasyAbp.Abp.DynamicPermission.Application.Contracts
    • EasyAbp.Abp.DynamicPermission.Domain
    • EasyAbp.Abp.DynamicPermission.Domain.Shared
    • EasyAbp.Abp.DynamicPermission.EntityFrameworkCore
    • EasyAbp.Abp.DynamicPermission.HttpApi
    • EasyAbp.Abp.DynamicPermission.HttpApi.Client
    • EasyAbp.Abp.DynamicPermission.MongoDb
    • EasyAbp.Abp.DynamicPermission.Web
  2. Add DependsOn(typeof(AbpDynamicPermissionXxxModule)) attribute to configure the module dependencies. (see how (opens new window))

# Usage

  1. Use the management page to define a dynamic permission.

  2. Grant the new permission to roles or users.

DynamicPermissionDefinitions EditRolePermissions

# Road map

  • [ ] Make PermissionGrant extensible.
Last Updated: 11/20/2022, 1:43:53 PM