1

In Sharepoint Online portal I have a scripts folder inside the style library. These scripts are used on some pages through the script editor webpart with script tag. The user, which I used to upload these scripts, can see them in style library and on pages. But the new user created by administration center on portal.office.com can't see files in style library and script files keep showing not found error (404) in browser console. How must I grant permissions for the new users?

  • 2
    Are the scripts published? The Style Library has versioning enabled by default, so you have to remember to publish a major version of files you put in there to make them available to all users. – Dylan Cristy Jun 13 '16 at 20:06
  • Have you checked mentioned conditions in my answer to get it resolved ? – Hardik Jun 13 '16 at 20:40
  • @DylanCristy the publish button is disabled. I don't know if the scripts published or not. Only user that uploaded them can see them. – unfalse Jun 15 '16 at 7:07
  • Did your SharePoint Online environment's scripting capabilities ON? – Hardik Jun 15 '16 at 12:38
  • @Hardik yes. Thanks for your attention I just resolved my problem. See answer below. – unfalse Jun 15 '16 at 12:42
1

Try change the permission level of those users and add Manage Lists list permission.

OR

Typically the Style Resources Reader group has restricted read to the root style library. This group contains all authenticated users by default. First check to see if this group exists on the library and does have the all authenticated users in it.

Second, check to make sure all of your assets are checked in as major versions and approved if necessary.

If all of these are correct, you could alter the Style Resources Readers group to have read permission on the library.

  • Did you tried above solution? is that works for you? – Hardik Jun 14 '16 at 16:57
1

Thanks to @Hardik I found the solution was to cancel check out and publish files. I just discovered the little arrow in a green square on each script file. These files were checked out and I cancelled the check out and published them. Thanks to everybody for help.

  • BTW I already suggested the same in my answer as well.. Here is the line... "Second, check to make sure all of your assets are checked in as major versions and approved if necessary." – Hardik Jun 15 '16 at 12:45
  • @Hardik yes, that guided me to the right solution too. I will write your nick in my answer. For me there is difference between approved and published and I didn't get it right away. – unfalse Jun 15 '16 at 15:37
  • If i helped you anyhow than you can help me by giving some credit to my given answer..:) – Hardik Jun 15 '16 at 15:39
  • @Hardik my reputation is less than 15 so I cannot vote. – unfalse Jun 15 '16 at 16:02
  • My bad luck man... – Hardik Jun 15 '16 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.