C# Class Fzrain.Authorization.FzrainAuthorizationProvider

Inheritance: Abp.Authorization.AuthorizationProvider
ファイルを表示 Open project: fzrain/Material-Design-AngularJs-Abp

Private Properties

Property Type Description
AddPermissions void
L ILocalizableString

Public Methods

Method Description
FzrainAuthorizationProvider ( IRepository permissionRepository ) : System.Collections.Generic
SetPermissions ( IPermissionDefinitionContext context ) : void

Private Methods

Method Description
AddPermissions ( PermissionInfo rootPermission, Abp.Authorization.Permission permission ) : void

递归加载所有权限

L ( string name ) : ILocalizableString

Method Details

FzrainAuthorizationProvider() public method

public FzrainAuthorizationProvider ( IRepository permissionRepository ) : System.Collections.Generic
permissionRepository IRepository
return System.Collections.Generic

SetPermissions() public method

public SetPermissions ( IPermissionDefinitionContext context ) : void
context IPermissionDefinitionContext
return void