For some reason I will always get permission error when approving a document, but no error if reject. Workflow is done through javascript.
I set user as editor in folder a, and when he approves or rejects a task, i move the file to separate folders using runas admin. For these folders, i set user as consumer.
I can move the file by reject, but i cannot with approve. The settings are the same for both path, so why does this happen?
This happens before. All I did was delete the folders and set back the permission, and it will be okay.