Added some more teams permission checks

I implement these for working on the TED api, but I'm not sure if we
will use them or not.  In any case, they might be helpful for the
future.