Never mind guys, I figured out another way to do what I wanted. Instead of using actual permissions I decided to use the group api to check for the group then check to see if the user is in the group, then return true or false. Thanks for the help everyone