I just discovered that the "Request Approval" process for dynamic objects (News, Events, Links, Facts) always invokes Workflow.getNewsApprovers() when building the list of approvers for the object. While I can appreciate the generic nature of the dynamic object interface, this behavior is very frustrating. It totally undermines the "eventApproval" permission don't ya think?
It's not possible to have one policy group approve News and one policy group approve Events. Maybe we could add a "getEventApprovers()" method to Workflow??
As part of version 2 we added the same permission structure as news to events, links and facts. The getApprovers method somehow slipped through the radar and was not updated. Easy fix though, just make permission type an argument. At the moment it is checking for a hardcoded 'NewsApprove', sending it in as an argument it could be checking for NewsApprove, EventApprove, LinkApprove etc
-Brendan http://farcry.daemon.com.au
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
