Dynamic permission module for ABP framework.
An ABP module that allows you to define and grant dynamic permissions in runtime.
-
Install the following NuGet packages. (see how)
- Syrna.DynamicPermission.Application
- Syrna.DynamicPermission.Application.Contracts
- Syrna.DynamicPermission.Domain
- Syrna.DynamicPermission.Domain.Shared
- Syrna.DynamicPermission.EntityFrameworkCore
- Syrna.DynamicPermission.HttpApi
- Syrna.DynamicPermission.HttpApi.Client
- Syrna.DynamicPermission.Web
- Syrna.DynamicPermission.Blazor
- Syrna.DynamicPermission.Blazor.Server
- Syrna.DynamicPermission.Blazor.WebAssembly
-
Add
DependsOn(typeof(SyrnaDynamicPermissionXxxModule))
attribute to configure the module dependencies. (see how) -
Add
builder.ConfigureDynamicPermission();
to theOnModelCreating()
method in MyProjectMigrationsDbContext.cs. -
Add EF Core migrations and update your database. See: ABP document.
This project based on EasyAbp DynamicPermission
- Demo project created for OpenIddict
- Demo project extended modules added
- Blazor modules added
- Db schema refatored
- Blazor modules implemented
- AspNetCore Web refactored