0

Is it possible to set view permissions to Sharepoint list items using just only JSOM? ie, userA can only view and edit list items submitted by themselves. Owner of the site should be able to view and edit all list items.

Am struggling the idea of setting permissions from the 'porous' client-side codes. I mean, what's stopping a clever user from changing permissions for another user via the console?

0

So you want to set the following setting by JSOM?

enter image description here

  • Permissions should be set at the point when listItem is created by my enduser. Item created by my enduser should be visible only to himself and the owner of the list. – ngzhongcai Feb 3 '17 at 14:19
  • Am struggling the idea of setting permissions from the 'porous' client-side codes. I mean, what's stopping a clever user from changing permissions for another user via the console? – ngzhongcai Feb 3 '17 at 14:21
  • Ooo... I see... "Read items that were created by the user"? "Create items and edit items that were created by the user"? That looks applicable to my scenario. – ngzhongcai Feb 3 '17 at 14:28
  • I do have another requirement that is the user who created the listItem is able to grant edit and read accesses to specific users in the organization. Again this must be via JSOM only and no server side codes – ngzhongcai Feb 3 '17 at 14:30

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.