ccoulson / import_test

0 stars 0 forks source link

Change permissions required to access FBA Management pages #28

Open ccoulson opened 6 years ago

ccoulson commented 6 years ago

ccoulson[CodePlex]
Limit to users who have permissions to manage users/permissions.

We recently had a project come up with the requirement that the business owners of the site should be able to add / delete / update users. To provide this, I made some customizations to the FBA pack for sharepoint 2013 which have been deployed in our production farm to allow users with the quotmanage permissionsquot right to be able to use the management pack screens. In order to provide this right to the users, I modified the default SP site owners group to include the quotmanage permissionsquot right.

I made the following changes to the FBA pack code: -Customized user management screens to allow users with “Manage Permissions” right to make changes to FBA users. Following files override RequireSiteAdministrator return false and RightsRequired return Microsoft.SharePoint.SPBasePermissions.ManagePermissions for the following pages --UserDisp.aspx.cs --UserEdit.aspx.cs --UserNew.aspx.cs --UserDelete.aspx.cs

-Customized UserEdit.aspx.cs to call “SPUser.Update()” with elevated privileges -Customized FBAMenus elements.xml to show site settings gt users and permissions gt FBA User Management item to users with “Manage Permissions” right

Completed customizations are in attached zip file.

ccoulson commented 6 years ago

csc077[CodePlex]
As discussed, please find customizations to allow users with manage permissions rights to manage FBA users based off v1.3.4