I BELIEVE (don't quote me) that if you are in a raid, you are considered 'der uber group'. Now group only buffs may not get passed around outside your base group (not sure on this), but as you are considered locked into combat with the rest of the raid, you should be able to cast on other raid members.
The lock would be the only thing that would normally stop you.