def allow_remote_invocation(func, method='<STR_LIT>'):
setattr(func, '<STR_LIT>', method)<EOL>return func<EOL>
All methods which shall be callable through a given Ajax 'action' must be
decorated with @allowed_action. This is required for safety reasons. It
inhibits the caller to invoke all available methods of a class.