TransWikia.com

How to restrict people to edit snippet of script editor webpart in sharepoint 2013?

SharePoint Asked by user1519872 on December 10, 2021

I want to restrict people to edit snippet of script editor webpart in sharepoint 2013. Only developer group should have the access to edit the code. I tried by creating a user group for developers and make them as target audience.

But page itself not visible to the other users. Other user should able to see the page and upload documents to a library using the current page.

2 Answers

Move the script to a js file and place the file in a new document library on your site. Break the permissions on the library and allow Edit permissions for your admins. Remove the script editor web part and replace it with a Content Editor web part referencing the js file

Answered by Kasper Bo Larsen on December 10, 2021

Place your script in a document library where only the dev. group has contribute permissions, others have only read permission, and refer that script from the web part. Set read-only permission on the web part page itself. BTW. is it a web part page, a wiki page, publishing page, or application page?

Answered by pholpar on December 10, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP