Skip to content

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

License

Notifications You must be signed in to change notification settings

EasyAbp/Abp.DynamicPermission

Repository files navigation

Abp.DynamicPermission

ABP version NuGet NuGet Download Discord online GitHub stars

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

Installation

  1. Install the following NuGet packages. (see how)

    • 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)

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages