Could anybody please help me or point me in the right direction please;
I would like to use REST or SPServices, when a script is run from a button on a sharepoint form; to loop through all items in a list and update/replace the item permissions of every item when the current permissions include a user which will be selected in a people picker in the sharepoint form. There will be a second people picker which i would like to add that person to the item permissions.
I have found loads of great examples for both REST and SPServices to update the viewable fields but none which deal with permissions.