public MenuController( IMenuAppService menuAppService, IUserRoleFinder userRoleFinder) { MenuAppService = menuAppService; UserRoleFinder = userRoleFinder; }
public RolePermissionManagementProvider( IPermissionGrantRepository permissionGrantRepository, IGuidGenerator guidGenerator, ICurrentTenant currentTenant, IUserRoleFinder userRoleFinder) : base( permissionGrantRepository, guidGenerator, currentTenant) { UserRoleFinder = userRoleFinder; }
public IdentityPermissionManager( IPermissionDefinitionManager permissionDefinitionManager, IPermissionGrantRepository permissionGrantRepository, IPermissionStore permissionStore, IServiceProvider serviceProvider, IGuidGenerator guidGenerator, IOptions <PermissionManagementOptions> options, ICurrentTenant currentTenant, IUserRoleFinder userRoleFinder) : base(permissionDefinitionManager, permissionGrantRepository, permissionStore, serviceProvider, guidGenerator, options, currentTenant) { UserRoleFinder = userRoleFinder; }
public RoleMenuManagementProvider( IMenuGrantRepository menuGrantRepository, IPermissionDefinitionManager permissionDefinitionManager, IMenuGrantChecker menuGrantChecker, IGuidGenerator guidGenerator, ICurrentTenant currentTenant, IUserRoleFinder userRoleFinder) : base(menuGrantRepository, permissionDefinitionManager, menuGrantChecker, guidGenerator, currentTenant ) { _userRoleFinder = userRoleFinder; }
public UserRoleFinder_Tests() { _userRoleFinder = GetRequiredService <IUserRoleFinder>(); _testData = GetRequiredService <IdentityTestData>(); }