CatalogUser — specify catalog-specific usernames to use when accessing files with absolute pathnames
The directive specifies catalogs and the corresponding usernames
which will be used in accessing files with absolute pathnames.
Actually, the file access itself is still performed under the Interchange
server username, but the CatalogUser
values are used for
a "would-be" kind of check.
This directive is only honored when NoAbsolute
is enabled.
Then, the situation is as follows:
Interchange allows the file to be read or written if the absolute pathname
points somewhere in the catalog directory (CATROOT) or
TemplateDir
.
Interchange allows the file to be read if the appropriate catalog's
CatalogUser
is file owner, or belongs to a user group that
can read the file. (The same analogy is used for write access).
Interchange 5.9.0:
Source: lib/Vend/Config.pm
Line 3188 (context shows lines 3188-3205)
sub parse_hash { my($item,$settings) = @_; if (! $settings) { return $HashDefaultBlank{$item} ? '' : {}; } my $c; if(defined $C) { $c = $C->{$item} || {}; } else { no strict 'refs'; $c = ${"Global::$item"} || {}; } return hash_string($settings,$c); }