SharePoint Holmes and the Gone Gallery

800px-Northwestern_High_School_Student_Art_GalleryWhile all consultants are writing about Modern Sites, Hub Sites and Communication sites, I am quite certain that a lot of us practitioners are still working with the Classic sites. Looking at “my own” environment this will not change overnight.

(One of the joys of being a practitioner is that you can watch an intranet grow old…and not always gracefully 🙂 )

So here’s another case of Classic SharePoint Investigation.

The case

“I can only add app parts to the page,” the user said. “I am the owner of the site and I would like to add Summary Links, but I can only see the web parts for the document libraries and lists in my site.”

And indeed, when I looked at her page in Edit mode, it looked like this:

SH-GG-WebParts
Although the user had selected the Web Part Gallery, she only saw the App Parts.

 

SH-GG-AppParts
This is what she saw when she selected the App Parts – exactly the same!

 

The investigation

  1. The site permissions were OK – she indeed had the correct permissions to manage the site.
  2. I checked the permissions for the Pages library and Pages – all were inheriting from the parent so that was not the issue.
  3. I logged in as admin (that account has Administrator permissions on all site collections in the tenant) and I saw all web parts. So it looked like another permissions issue.

    SH-GG-CorrectWP
    Same page, different user: I could see the web parts
  4. I asked the owner to which business she belonged. That was Business B. This gave me the clue that I needed.
  5. I checked the site collection – this was a site collection for Business A.
  6. So I checked her permissions on the site collection level – none, as only employees of Business A had access.
  7. To confirm, I checked her permissions for the Web Part Gallery.  Bingo!

The solution

As we are divesting Business B, we have removed all permissions of the Business B people from all site collections of Business A, and vice versa. This means that the Galleries in the Business A site collections are not accessible to employees of Business B. It is an exceptional case that a Business B owner is an owner of a Business A site, but there was a reason for that.

Fortunately the Web Part Gallery had unique permissions, so I added her to the Gallery and then she could do what she needed to do. I did not have to worry about maintenance as her account will be removed in a few months automatically as the system separation takes place. (I may write about that later.)
Frankly, I do not know which permissions a Web Part Gallery should have by default, as I have seen both “inherited” and “unique” while checking some site collections.

This case is probably not very common, but if you ever get incidents where people can not see the web parts when editing a page, please check permissions of the Web Part Gallery at the site collection level. I remember once accidentally removing all permissions at site collection level, and after I had added the groups back, several Galleries were inaccessible as due to unique permissions the groups had not been added back automatically…

About SharePoint Holmes:
Part of my role is solving user issues. Sometimes they are so common that I have a standard response, but sometimes I need to do some sleuthing to understand and solve it.
As many of my readers are in a similar position, I thought I’d introduce SharePoint Holmes, SharePoint investigator, who will go through a few cases while working out loud.

Photo courtesy of Maryland Pride on Wikimedia.

Advertisements