General portal permissions are stored in the Home Area (the top-level
Web for the portal site Collection). When you create a team Site from a
portal you are creating a new top-level Web in a _new_ Site Collection.
It does not inherit anything from the portal. The Web Part Gallery, List
Template Gallery, and Web Template Gallery, the Cross-Site Groups, etc.
are all established anew.
Site Groups are anew in every Web and always default to Reader,
Contributor, Web Designer, and Administrator, (plus Content Manager and
Member in an Area). This can only be altered using something like
ExecuteUrl in the Configuration section of the site definition.