scoping events to public, portal, or both