-
Notifications
You must be signed in to change notification settings - Fork 89
/
appsettings.json
22 lines (22 loc) · 1.03 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=PermissionAccessControl2-AspNetCoreIdentity;Trusted_Connection=True;MultipleActiveResultSets=true",
"DemoDatabaseConnection": "Server=(localdb)\\mssqllocaldb;Database=PermissionAccessControl2-DemoDatabase;Trusted_Connection=True;MultipleActiveResultSets=true"
},
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"AllowedHosts": "*",
"SuperAdmin": //This holds the information on the superuser. You must have one SuperUser setup otherwise you can't manage users
{
"Email": "Super@g1.com",
"Password": "Super@g1.com"
},
"DemoSetup": {
"DatabaseSetup": "InMemory", //This can be "InMemory" or "Permanent" (a real database) database.
"CreateAndSeed": true, //If this is true then it will create the dbs and ensure the data is seeded
"AuthVersion": "Everything" //The options are Off, LoginPermissions, LoginPermissionsDataKey, PermissionsOnly, PermissionsDataKey, Impersonation, RefreshClaims, Everything
}
}