wow - permissions work for table joins@!
Zap I just discovered the permissions work on table joins too.
permissions_sql($this->owner['channel_id'], null, 'attach');
This is GREAT. I solves my problem with only one additional line of code plus one changed line.