I'm attempting to create a few bootstrap sites. I've been working with Will Abson's share-import-export python scripts and reviewing the sample bootstrap site/patch. I've created my own bootstrap contexts and ACPs, but It doesn't appear that there's a built-in way to setup site membership based on groups instead of individual members.
My use case requires group-based membership, so I'm looking for what I need to do to make this happen without the need to manually configure membership for each site following bootstrap.
I can see that when a new site is created, a new site-specific group is also created. Can anyone provide me with details about the specific things I'd need to do (i.e. create a new site-specific group, etc.) to write my own extension to the SiteLoadPatch that will meet my needs? Or is there some other existing process I could/should use to accomplish this? Might it be easier to write an external script that does this by calling existing Share APIs instead? Please note that this is not a one-time install - I will need to do this a number of times over an extended period of time, so manually configuring these permissions will become tedious and error prone.
Thanks!
-Patrick