Setting download restriction based on custom capabilities

Hello,
I am using the basic download restrictions to set the download limits on a user role basis…
However, I would like to override these limits if a user has a specific custom capability set in their wp_capabilities meta data.
Is this possible?!
Thanks,
Adam

I’m just thinking out-loud about this… but could I code into the functions or something a custom statement that goes along the lines of:

if (custom caps == xyz){
set user S2MEMBER_CURRENT_USER_DOWNLOADS_ALLOWED  to 10;
}