Customize Wordpress Plugins: restrict role use of plugin
===

I have two plugins that I want only Editors or Admins to be able to use (they push-publish to FB and Twitter and I don't want any user to be able to do that). So, I'm looking for how to edit each plugin to add permission restrictions.
Both plugins create options boxes within the Page or Post editor, and basically I'd like these to appear only to those with proper role status.

I'm thinking something like:

if ( current_user_can( 'manage_categories' ) add_action( ... );

... but am simply not good enough with code to write what I'd like. Can anyone help out?