NAME
	allow_subscribe - control access to events

SYNOPSIS
	int allow_subscribe(object obj, string name)


DESCRIPTION
	This function controls access to events defined by the current object.
	To allow the object obj to subscribe to event name in the current
	object, return 1.  Otherwise, return 0.
