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?

6
  • 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. Commented Jun 13, 2016 at 20:06
  • Have you checked mentioned conditions in my answer to get it resolved ?
    – Hardik
    Commented Jun 13, 2016 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
    Commented Jun 15, 2016 at 7:07
  • Did your SharePoint Online environment's scripting capabilities ON?
    – Hardik
    Commented Jun 15, 2016 at 12:38
  • @Hardik yes. Thanks for your attention I just resolved my problem. See answer below.
    – unfalse
    Commented Jun 15, 2016 at 12:42

2 Answers 2

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.

1
  • Did you tried above solution? is that works for you?
    – Hardik
    Commented Jun 14, 2016 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.

6
  • 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
    Commented Jun 15, 2016 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
    Commented Jun 15, 2016 at 15:37
  • If i helped you anyhow than you can help me by giving some credit to my given answer..:)
    – Hardik
    Commented Jun 15, 2016 at 15:39
  • @Hardik my reputation is less than 15 so I cannot vote.
    – unfalse
    Commented Jun 15, 2016 at 16:02
  • My bad luck man...
    – Hardik
    Commented Jun 15, 2016 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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