SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use a jquery dialog box to ask the user a daily question. I have a question and answer list which contains the information to load into the dialog box. I do not want the user to view or edit information in the question and answer list. However i do want to update the answer list based on the selected answer on the popup dialog box that is displayed to the user.

I am using Javascript to update a list using sharepoint webservice. For the users who do not have permissions to view or edit the list is it possible to elevate their permissions to be able to update the answer list based on their selection from the popup dialog box. Is there a way to change the Soap Header to accomplish this ?

share|improve this question

Web service calls are made using the current user's credentials, so the only way to accomplish would be to elevate user credentials. You could accomplish that via permissions web service; maybe elevate the permissions, write updates, then revert the permissions back.

If you haven't, take a look at Marc Anderson's (@sympmarc) jQuery library for SharePoint web services -

share|improve this answer

I find it hard to imagine that it would be possible to elevate permissions with client side code only.

Just imagine the security implications...

share|improve this answer
You know... I hadn't fully thought that through... it would have to elevate based on that users credentials... clearly not going to work... That's what I get for multitasking... – webdes03 Jul 15 '10 at 19:45

One option is to use item based security. It isn't ideal but neither is your question.

If you create a workflow on item created then you can change permissions accordingly. So everyone has write access but htey only have edit on their own items. assuming you are using sp 2007.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.