You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
def SettingsUpdate(inDict):
|
|
|
|
##################################################
|
|
|
|
#""/"ND" MethodMatchURLList
|
|
|
|
l__ND_RuleMethodMatchURLBeforeList={
|
|
|
|
("","ND"): {
|
|
|
|
"MethodMatchURLBeforeList": [
|
|
|
|
{
|
|
|
|
"Method":"GET",
|
|
|
|
"MatchType":"Beginwith",
|
|
|
|
"URL":"/",
|
|
|
|
#"FlagAccessDefRequestGlobalAuthenticate": TestDef
|
|
|
|
"FlagAccess": True
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"Method":"POST",
|
|
|
|
"MatchType":"Beginwith",
|
|
|
|
"URL":"/",
|
|
|
|
#"FlagAccessDefRequestGlobalAuthenticate": TestDef
|
|
|
|
"FlagAccess": True
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#Append to global list
|
|
|
|
inDict["Server"]["AccessUsers"]["RuleDomainUserDict"].update(l__ND_RuleMethodMatchURLBeforeList)
|
|
|
|
#Return current dict
|
|
|
|
return inDict
|