Authorize webparts in modern site pages

Brass Contributor

Is it possible to authorize webparts in Modern site Pages.

So only some people, in de team, can view that webpart and others not?

6 Replies

Yes this would be possible if you look at the webparts like search results etc. this is already done. You only get to see what you have permissions for.

Did you mean setting the "audience" for the webpart ?

No, I mean team members :)

I guess I didn't understand your question.Are you looking to security-trim the webparts on a page? What @Deleted mentioned; For example the search results are already getting security-trimmed as a standard behavior in SharePoint, or if you have any items that you don't have access to you do not see them. However, the webpart will be there on the page although items in it is security-trimmed (unless this has changed recently, audiences are typically used to take complete webparts out of the pages)

I quest it's not possible (at the moment) to only view a webpart to one or some members of a team.
Thanks.
Correct, this is audience targeting which is coming over the next 6 months and was discussed at SPC. You can do it with Classic pages, but not modern currently.