SOLVED

Modern Experience and Security Trimming

Brass Contributor

Hi all, i'm working on a customer project where he needs to apply security trimming on links (to SP Addin, or other SP Contents) in the homepage. 

 

At the moment, from what I can see, neither Hero nor QuickLinks fit the requirement. 

Any ideas on how to achieve the result? Do you know any SPFx ready Webpart that I can use?

 

Last option is to build a customizer-wp to hide objs in the page, but probably it will slow down performances.

 

Thanks, 

Michele

3 Replies
best response confirmed by VI_Migration (Silver Contributor)
Solution

Have a look at this solution in the PnP Repository, built by the Shire Team

 

https://github.com/SharePoint/sp-dev-solutions/tree/master/solutions/LinksAndHandlebarsTemplate

 

This allows you to store links in a list and it will pull them in!

@Beau Cameron do you know if this is security-trimmed? For example, if I have links in the list that go to different libraries on a site, will it only display the links to a user who access to those libraries? 

Not automatic. You can permission from them using SharePoint list permissions though, as these items are stored in a list.
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution

Have a look at this solution in the PnP Repository, built by the Shire Team

 

https://github.com/SharePoint/sp-dev-solutions/tree/master/solutions/LinksAndHandlebarsTemplate

 

This allows you to store links in a list and it will pull them in!

View solution in original post