File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
samples/netcore3.x/SampleMvcWebApp
src/DynamicAuthorization.Mvc.JsonStore Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ public void ConfigureServices(IServiceCollection services)
3232 . AddDefaultUI ( ) ;
3333
3434 services . AddDynamicAuthorization < ApplicationDbContext > ( options
=> options . DefaultAdminUser = "[email protected] " ) 35- . AddJsonStore ( options => options . FilePath =
36- @"D:\Workspace\Github\DynamicRoleBasedAuthorizationNETCore\samples\netcore3.x\SampleMvcWebApp\bin\Debug\netcoreapp3.1\RoleAccess.json" ) ;
35+ . AddJsonStore ( ) ;
3736
3837 services . AddControllersWithViews ( ) ;
3938 services . AddRazorPages ( ) ;
Original file line number Diff line number Diff line change 33 public class JsonOptions
44 {
55 public string FilePath { get ; set ; } = "RoleAccess.json" ;
6-
7- public bool UseMemoryCache { get ; set ; } = true ;
86 }
97}
You can’t perform that action at this time.
0 commit comments