Skip to content

Updating Web Title with member only updates the member's web title #7818

@kpfeuffer

Description

@kpfeuffer

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

SharePoint REST API

Developer environment

Windows

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

When updating a webs title with a user with member permissions, this only updates the user's web title and not the web title.

This was tested with the PnP-Framework (version 2.6) using the following code.

I'm using the following code:
let myWeb= Web(webUrl); myWeb.update({ Title: title }).then(() => { resolve(true); return; }).catch(() => { resolve(false); return; });

When i execute the code with a user with admin rights (Member of owner group or site collection administrator) the title of the web is updated and all user see the new title. When executing the code with a user with member rights (member of member group) the title is updated for the user, but not for all users. Only the current user see's the new title, all other user see the old title.

Steps to reproduce

  1. Edit the title of the Web as a Member, the Title is only changed for myself
  2. View as another user and it shows up as the previous title
  3. Edit the title as Admin of the Web, updated for all users

Expected behavior

When a member updates the title, either they should get an error regarding permissions, or the update should go through for all users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions