I was asked to investigate if a custom "Grant Permissions" page can be built in Sharepoint 2010. It should:

  1. Allow admin to set users for each group (visitors/members/owners) in one page. Currently such page comes up only on creating a site with unique permissions. But the planned custom page should be accessible for each list type too.

2.Inheritance should be broken by default. (Can be handled using Server Object Model?)

Please let me know if it's achievable

1 Answer 1


It's achievable with custom development. Both the Vistors/Members/Owners groups and inheritance can be set through code. You want use:

SPWeb.BreakRoleInheritance(); and SPWeb.CreateDefaultAssociatedGroups(), and then add the users/groups you need to to those roles.

Note that the second method has a bug, and doesn't create the visitors group correctly. There is a fix (and good example of part of what you're trying to do) here.

I did a similar thing in SharePoint 2007. See http://www.novolocus.com/2009/09/16/how-i-simplified-the-users-and-group-ui-intro/ for information on building the UI.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.