I'm trying to design a dialog window that will allow a user to add multiple users to multiple SharePoint groups simultaneously.
A user can be an Owner of multiple teamsites, and we need a dialog that will allow them to select one or more of these teamsites, and assign other users as Owners, Members and Visitors to all of these teamsites simultaneously.
In an ideal implementation, we need:
- A web part that will loop through sites in a certain site collection, displaying only the ones for which the current user is a member of the relevant 'Owners' group (perhaps using SPQuery). The user will be able to use checkboxes to select multiple projects from this list.
- Underneath this webpart will be three people pickers to allow the user to add others to the three group types.
- A save button at the bottom which will add the selected users to the above groups for the selected teamsites.
The permissions-based site display web part is the tricky bit in my mind, so I was wondering if anybody knew of any suitable web parts, either OOB, OOB-yet-customisable or community-designed that might be of help? Something like a list view web part that displays the results of an SPQuery rather than the contents of a list/view perhaps?
Open to any ideas or suggestions regarding implementation etc.