Hub sites: suppress sites on sites web part if no access
Hub sites: suppress sites where you have no access.
Sites that are on the sites web part in hub sites should be suppressed when the user has no access.
That is in line with behavior on SP sites

5 comments
-
Anonymous commented
Considering that the default behaviour of SharePoint is to display to the user logged in, only the objects he can access (items, documents, lists, libraries, actions, ....)
When based on query (all sites of the Hub, Frequent site for current user, ...), the web part consider to display only sites that the current user can access. Behaviour OK.
But when based on selected sites, all the sites are displayed, even those the user has no permissions on !!! Behaviour NOK.
As we don't have any search web part in modern page, I do not see how to display sub-set of sites in my Hub... -
André commented
Add the audience option as recently published for SharePoint sites to Hub sites sites web part
-
Tom Castiglia commented
The "Sites Web Part" really needs to allow security trimming like other aspects of SharePoint. When this webpart displays multiple sites, if a user does not have permissions to all of those sites, they now get an error message for the whole web part. (ERROR:
Couldn't get sites. [object Object] Http status code: 403). A few weeks ago, this scenario did not cause an error message. Instead the cards for sites that the user did not have access to would be displayed but they would not show the "recent content" from that site. This was not ideal, as we really need the cards simply hidden altogether for sites that the user can't access and display cards normally for sites the user does have permission to. -
Anonymous commented
"Access based enumeration"
-
STRiCT commented
I agree! I would like to take this a step further, and filter rolled up content, most importantly documents, users might not have access to.