Added 'Allow access from Macro's' setting to Database Links

This commit is contained in:
Yung Han Khoe 2007-07-21 21:12:31 +00:00
parent d057dba239
commit 5a0bd14476
4 changed files with 26 additions and 1 deletions

View file

@ -77,6 +77,7 @@
http://www.webgui.org/bugs/tracker/macro-not-working-i-httpproxy
- fix: navigation shows toolbar for users who can't edit it
http://www.webgui.org/bugs/tracker/navigation-shows-edit-button-to-users-without-permission
- add: Database Links now have a 'Allow access from macro's' setting
7.3.21
- fix: Self-deactivation doesn't show login screen after success

View file

@ -33,11 +33,23 @@ addNewsletter($session);
addHttpProxyUrlPatternFilter($session);
addCanStartThreadToCS($session);
addPostCaptchaToCS($session);
addMacroAccessToDatabaseLinks($session);
finish($session); # this line required
#-------------------------------------------------
sub addMacroAccessToDatabaseLinks {
my $session = shift;
print "\tAdding allowMacroAccess setting to Database Links..." unless ($quiet);
$session->db->write("ALTER TABLE databaseLink add column allowMacroAccess integer NOT NULL default 0");
print "OK\n";
return;
}
#-------------------------------------------------
sub addPostCaptchaToCS {
my $session = shift;
print "\tAdding useCaptcha setting to Collaboration Systems..." unless ($quiet);