SharePoint “Access Denied” to Read-Only Users

Had the bizaarist of errors last two days on SharePoint.  If a user was in a Read only SharePoint group they would receive a ‘Access Denied” message, not all that odd you might say, but in the end it came down to a single custom control (I did not write it …!) which was accessing the UserProfileManager.  So you’d think that maybe the user needed some permission relating to managing their own profiles?  None of that it came down to being able to Browse SharePoint libraries via SharePoint or WebDav, despite none of that stuff being needed, accessed or even referenced.

Set the relevant permission by creating a custom PermissionSet which was cloned from the Read Permissionset, added the above permission in and the Read Only users could then see the pages. Not quite ideal as some of the Site Actions become available.

Even more odd, the same behaviour was NOT present with the same code on the Test Rig … eh?

Cheers

Dave Mc

Advertisements

About davemcmahon81
Software Developer & Architect, User Group Leader, Speaker, Writer, Blogger, Occasional Guitarist, Man-made Global Warming Sceptic, Climate Change Believer, General Optimist but most of all proud Husband and Dad ...

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: