Answered Client OM application - access permissions

  • Monday, April 16, 2012 11:41 AM
     
     

    Hi All,

    I have an ECMA script which does following to my site -

    1. adds folders to document library and alters permissions to these folders

    2. sets site permissions

    3. adds existing sharepoint users to the sharepoint user groups

    4. adds items to task lists and other custom lists

    This script is working fine for me (I'm part of farm admin group). I added an user who has FullControl at site collection level and is a site owner. This user is NOT able to execute the ECMA script - gets access denied in server logs. We want to restrict the execution of the script to site owners/site collection owners.

    Any idea how this can be done?


    ArchaHim

All Replies

  • Tuesday, April 17, 2012 7:38 AM
     
     Answered

    Hi ArchaHim,

    Please make sure the user have the enough permissions to achieve the actions done by the script, you can do the actions by UI with the user to see if he has the enough permissions.

    Thanks,
    Simon


    Simon Huang

    TechNet Community Support

    • Marked As Answer by Shimin Huang Friday, April 27, 2012 8:19 AM
    •