Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

Abp.DynamicPermission

ABP version NuGet NuGet Download 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