Customize Action Menu based on User Roles

Has anyone figured this out? Metadata defines a static list of actions that an entity can perform, but I would like the action list to be customizable in code so that one role can perform certain actions and the other role can perform others. MSDN hinds that this can be done but there is no information out there about how this can be done.
[341 byte] By [FrankChiang] at [2008-2-5]

SharePoint Products and Technologies

Site Classified