none
Unable to display web part - while refering XSL file from site collection root level style library

    Domanda

  • I have a site collection which contains 5-6 subsites. In the root site "Style Library" Im keeping XSL files used in one of the web parts in the sub sites. The style library is inheriting the permission of root site (Admins - Full control, Owners - Contribute, Vistors - View). I have added all NT Authenticated users to visitors group.

    The security permission of my Subsite1 is ( Subsite1 Admins - Full control, Subsite1 Owners - Contribute, Subsite1 Vistors - View).  I have added all NT Authenticated users to Subsite1 visitors group.

    In one of the sub site pages, one of its web part using the XSL files from root sites Style Library. This web part is giving "Unable to display this web port" error for all the users than Site Collection Administrators.

    The other strange thing I found was - When I added the NT Authenticated groups to Site Collections roots Owners group, it worked for the users who are not part of any of the sub site groups.

    How to resolve this?

    Thanks in advance

    lunedì 2 luglio 2012 15:04

Risposte

Tutte le risposte

  • The style library by default (in a publishing site) has content approval turned on so you may need to publish a major version of the XSL file before it is visible to non-privileged users.

    lunedì 2 luglio 2012 15:23
  • Thanks Mike

    The files are checked in and published a major version...

    I believe its a permission issue. Since my sub sites have different groups than brary ? any idea?

    lunedì 2 luglio 2012 15:34
  • Hi niharika,

    It seems to be a permission issue that the subsite NT authenticated users have no access permission on that Style Library, you can go to the root site "Style Library" and set the permission on library level, add a "Restricted Read"permission (or Read permission) for NT AUTHORITY\authenticated users, then check result again.

    Thanks


    Daniel Yang

    TechNet Community Support

    mercoledì 4 luglio 2012 08:45
  • Thanks Daniel; I modified the permission of Style Library to Unique and assigned read permission to NT Authenticated users. This works fine for all the other users except users who are part of sub site level groups (Sub Site Owners, Sub Site Readers).

    Any clue?

    giovedì 5 luglio 2012 19:28
  • Hi niharika,

    I have a default SharePoint Group "Sytle Resource Readers" containning NT Authenticated users, this Group has permission "Limited Access" on root site collection, "Restricted Read" on "Sytle Resource Readers" libraray, and "Limited Access" on sub site.

    So, you may need to make the subsite "Inherit permissions" from parent site firstly, then delete and re-add the NT Authenticated users with "Read permission" on "Sytle Resource Readers" libraray, this should make the NT Authenticated users have "Limited Access" permission on root site collection, and the subsite should also inherit this permission from root site, then you can "Stop Inheriting permissions" from subsite and set the sub groups as your requirement.

    Thanks


    Daniel Yang

    TechNet Community Support

    venerdì 6 luglio 2012 03:00
  • Try change the permission level of those users and add Manage Lists  list permission
    mercoledì 11 luglio 2012 21:47
  • Try change the permission level of those users and add Manage Lists  list permission
    mercoledì 11 luglio 2012 21:52