fixing bug #4359

Considering alias of publication when checking access to files of a node