sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Breaking change in SharePoint add-in app permissions for web.RootFolder.Name

Open advdberg opened this issue 7 years ago • 6 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

SharePoint add-ins which get the web.RootFolder.Name should be working with just the app permission: Web Read

Observed Behavior

Since today we noticed the SharePoint add-ins stopped working which get the web.RootFolder.Name and have the app permissions: Web Read requested and approved.

When giving the app permission: Web Full Control, things start working again.

Steps to Reproduce

Create a SharePoint Add-in, set the app permissions to Web Read, and within the app make a call to get the web.RootFolder.Name

advdberg avatar May 27 '19 11:05 advdberg

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar May 27 '19 11:05 msft-github-bot

Also when giving the app permission web.edit it is working. But indeed with web.read it is not working anymore.

SanderSiep avatar May 27 '19 11:05 SanderSiep

Maybe unnecessary to mention, but the user opening the SharePoint add-in should now also have the edit permissions on the site where the add-in is installed (when the add-in gets the web.RootFolder.Name). This wasn't needed before last weekend.

advdberg avatar May 27 '19 14:05 advdberg

@VesaJuvonen this was the issue my colleague @SanderSiep spoke to you about during the ECS this afternoon, which was a breaking change for our SharePoint Add-ins since this weekend.

advdberg avatar May 27 '19 16:05 advdberg

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.

ghost avatar Dec 29 '21 15:12 ghost

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

ghost avatar Jan 06 '22 00:01 ghost