Made it so that some permissions could be Group-only or Team-only. (No tests yet!)