I'm modifying a plugin which has two media buttons under it's custom post type. One button for adding an image and one for adding a video. What I want to achieve is to allow the use of both for one user role, and allow image upload for another user role (disabling the video upload).
Is there a way to create a capability. I have User Role Editor and Adminimize, but neither of those are an option here. Can I somehow tag these buttons to make them show up in User Role Editor or Adminimize?