Permissions

Added automatic adding to permission groups. 
Hah, it was another of those tabs.