Re-adding permissions and teams fixtures.

And fixing up the permissions so they work.