- karma rfe: Limiting access to admin mode to set of ip's
This commit is contained in:
parent
2611279350
commit
899e9754b6
5 changed files with 36 additions and 3 deletions
|
|
@ -69,6 +69,8 @@
|
|||
prices/totals.
|
||||
- fix: Uncommitted Collaborations and adding threads
|
||||
- fix: template variable displayLastReply is in none of the CS help files
|
||||
- karma rfe: Faster rendering for editing interface
|
||||
- karma rfe: Limiting access to admin mode to set of ip's
|
||||
|
||||
|
||||
7.1.3
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ my $quiet; # this line required
|
|||
|
||||
my $session = start(); # this line required
|
||||
|
||||
addAdminModeSubnets($session);
|
||||
commerceSalesTax($session);
|
||||
createDictionaryStorage($session);
|
||||
addRssUrlMacroProcessing($session);
|
||||
|
|
@ -34,6 +35,13 @@ fixAds($session);
|
|||
|
||||
finish($session); # this line required
|
||||
|
||||
#--------------------------------------------------
|
||||
sub addAdminModeSubnets {
|
||||
my $session = shift;
|
||||
print "\tAllowing admin mode to be restricted to certain subnets in the config file.\n" unless ($quiet);
|
||||
$session->config->set("adminModeSubnets",[]);
|
||||
}
|
||||
|
||||
#--------------------------------------------------
|
||||
sub addNewProfileSetting {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue