0

I am making an event web part which is connected to a list of items. When a user attends an event, a json object will be parsed to a txt document that is attached to that particular list item /event. with the user details. However, when an user does not have edit permission, this will not work. In this case I want to give the user edit permissions. I'm using SharePoint online.

I was thinking to use REST API to change the users permissions for that particular list item, but from what I could gather it, seems it only works for groups permission etc and not for the current user. Have I missed something, or do I need to user another kind of method?

1

Not sure how the REST call supposed to be made but you'll not be able to call it under the current user if they don't have corresponding permissions.

In your case, I'd recommend using MS Flow and a new SharePoint action - Grant access to an item or folder.

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.