Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change permissions required to access FBA Management pages #135

Open
ccoulson opened this issue Oct 31, 2017 · 1 comment
Open

Change permissions required to access FBA Management pages #135

ccoulson opened this issue Oct 31, 2017 · 1 comment

Comments

@ccoulson
Copy link
Member

ccoulson commented Oct 31, 2017

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.
Simcoe.SharePoint.FormsBasedAuthentication.zip

@ccoulson
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant