Name

AllowGlobal — specify catalogs that may define subroutines and tags which operate with full Interchange server permissions

SYNOPSIS

catalog...

DESCRIPTION

Specify catalogs that can operate with the full permissions of the Interchange server.

Don't use this directive unless the catalog user is completely trusted.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Defining AllowGlobal

AllowGlobal tutorial1 tutorial2

NOTES

AVAILABILITY

AllowGlobal is available in Interchange versions:

4.6.0-5.7.0 (cvs-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 495

['AllowGlobal',     'boolean',       ''],

Source: lib/Vend/Config.pm
Line 2957 (context shows lines 2957-2974)

sub parse_boolean {
my($item,$settings) = @_;
my(@setting) = grep /\S/, split /[\s,]+/, $settings;
my $c;

if(defined $C) {
  $c = $C->{$item} || {};
}
else {
  no strict 'refs';
  $c = ${"Global::$item"} || {};
}

for (@setting) {
  $c->{$_} = 1;
}
return $c;
}

AUTHORS

Interchange Development Group

SEE ALSO

AdminSub(7ic), GlobalSub(7ic), Sub(7ic)

DocBook! Interchange!