Tuesday, December 8, 2009

Bug: Security Trimming using Update Personal Web Parts permission

Scenario
  • You have disallowed Update Personal Web Parts on a site
  • You have enabled Update Personal Web Parts on a page within the site
  • The page uses SPSecurityTrimmedControl with PermissionsString="UpdatePersonalWebParts"
Issue
  • The item does not appear on the page even though they have permissions on the page
  • This is a MS bug due to the SecurityTrimmedControl referring to the Site level permission instead of the Page level permission
Resolution
  • You will need to use another trimming mechanism until MS fixes this bug.

No comments:

Post a Comment