Thanks, Stephen. That's more or less what I thought. I actually
didn't write this code, it's from the unfinished calendar module.
And there are other examples of this usage sprinkled about. I'm
sure there are times when one wants to use
ad_require_permission this way, but I have a feeling that most of
the time it's done in error. Guess it's time for a bug report.