I do this kind of thing with a permissions filter. Each user has one or more roles assigned to him, the event-handler has a list of valid roles that can process the event, then the filter checks the user's roles against the valid roles and either continues or bails out. There is (or at least was) a generic permissions filter bundled with the Mach-II distribution. This version required that a user have *all* of the roles in the list, my tweaked version requires that the user have *any* of the roles in the list.
You could do this with a plugin if you wanted to process every event. -- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
